Develop and Download Open Source Software

Browse CVS Repository

Diff of /xoonips/AL/session.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.4 by aga, Fri Nov 26 06:24:53 2004 UTC revision 1.5 by aga, Tue Nov 30 05:46:32 2004 UTC
# Line 4  Line 4 
4   *   *
5   * $Revision$   * $Revision$
6   * $Log$   * $Log$
7     * Revision 1.5  2004/11/30 05:46:32  aga
8     * ・sessionからremoteHostを削除.
9     *
10   * Revision 1.4  2004/11/26 06:24:53  aga   * Revision 1.4  2004/11/26 06:24:53  aga
11   * ・sessionのメンバにuserid_tを追加.   * ・sessionのメンバにuserid_tを追加.
12   *   *
# Line 30  typedef unsigned long sessionid_t; Line 33  typedef unsigned long sessionid_t;
33  class session{  class session{
34  private:  private:
35      unsigned long sessionID;    //セッションID      unsigned long sessionID;    //セッションID
     unsigned long remoteHost;   //リモートホストのIP  
36      time_t date;        //セッション作成日時      time_t date;        //セッション作成日時
37      userid_t userID; // xoops_usersのuid      userid_t userID; // xoops_usersのuid
38            
39      void sessionid( unsigned long remoteHost, time_t date );      void sessionid( time_t date );
40  public:  public:
41      session();      session();
42      session( unsigned long remoteHost, time_t date );      session( time_t date );
43      ~session();      ~session();
44            
45      sessionid_t getSessionID() const;      sessionid_t getSessionID() const;
     unsigned long getRemoteHost() const;  
46      time_t getDate() const;      time_t getDate() const;
47      userid_t getUserID() const;      userid_t getUserID() const;
48    
     void setRemoteHost( unsigned long remoteHost );  
49      void setDate( time_t date );      void setDate( time_t date );
50      void setSessionID( sessionid_t );      void setSessionID( sessionid_t );
51      void setUserID( userid_t );      void setUserID( userid_t );

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26