Develop and Download Open Source Software

Browse CVS Repository

Contents of /xoonips/AL/session.h

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


Revision 1.1 - (show annotations) (download) (as text)
Wed Nov 24 06:53:07 2004 UTC (19 years, 4 months ago) by youi
Branch: MAIN
File MIME type: text/x-chdr
initial version

1 /*
2 *
3 * セッション管理用クラスの宣言
4 *
5 * $Revision$
6 * $Log$
7 *
8 */
9
10 #if !defined( SESSION_H )
11 #define SESSION_H
12
13 #include <time.h>
14
15 class session{
16 private:
17 unsigned long sessionID; //セッションID
18 unsigned long remoteHost; //リモートホストのIP
19 time_t date; //セッション作成日時
20
21 void sessionid( unsigned long remoteHost, time_t date );
22 public:
23 session();
24 session( unsigned long remoteHost, time_t date );
25 ~session();
26
27 unsigned long getSessionID();
28 unsigned long getRemoteHost();
29 time_t getDate();
30
31 void setRemoteHost( unsigned long remoteHost );
32 void setDate( time_t date );
33 };
34
35 #endif
36

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