Browse CVS Repository
Diff of /xoonips/AL/session.cc
Parent Directory
| Revision Log
| Revision Graph
| Patch
| 4 |
* |
* |
| 5 |
* $Revision$ |
* $Revision$ |
| 6 |
* $Log$ |
* $Log$ |
| 7 |
|
* Revision 1.3 2004/11/26 06:24:53 aga |
| 8 |
|
* ・sessionのメンバにuserid_tを追加. |
| 9 |
|
* |
| 10 |
* Revision 1.2 2004/11/25 09:00:24 youi |
* Revision 1.2 2004/11/25 09:00:24 youi |
| 11 |
* get系関数にconst修飾. |
* get系関数にconst修飾. |
| 12 |
* |
* |
| 25 |
sessionID = 0; |
sessionID = 0; |
| 26 |
remoteHost = 0; |
remoteHost = 0; |
| 27 |
date = 0; |
date = 0; |
| 28 |
|
userID = 0; |
| 29 |
} |
} |
| 30 |
|
|
| 31 |
session::session( unsigned long remoteHost, time_t date ) |
session::session( unsigned long remoteHost, time_t date ) |
| 41 |
unsigned long session::getSessionID() const { return sessionID; } |
unsigned long session::getSessionID() const { return sessionID; } |
| 42 |
unsigned long session::getRemoteHost() const { return remoteHost; } |
unsigned long session::getRemoteHost() const { return remoteHost; } |
| 43 |
time_t session::getDate() const { return date; } |
time_t session::getDate() const { return date; } |
| 44 |
|
userid_t session::getUserID() const { return userID; } |
| 45 |
|
|
| 46 |
void session::setRemoteHost( unsigned long remoteHost ) |
void session::setRemoteHost( unsigned long remoteHost ) |
| 47 |
{ |
{ |
| 65 |
this -> sessionID = id; |
this -> sessionID = id; |
| 66 |
} |
} |
| 67 |
|
|
| 68 |
|
void session::setUserID( userid_t uid ) |
| 69 |
|
{ |
| 70 |
|
this -> userID = uid; |
| 71 |
|
} |
| 72 |
|
|
|
|
Legend:
| Removed from v.1.2 |
|
| changed lines |
| |
Added in v.1.3 |
|
|
|