forked from External/mage
fixed client ip address
This commit is contained in:
parent
ade836c08a
commit
526f0c09bc
4 changed files with 13 additions and 6 deletions
|
|
@ -55,10 +55,9 @@ public class Session {
|
|||
private boolean isAdmin = false;
|
||||
private AsynchInvokerCallbackHandler callbackHandler;
|
||||
|
||||
public Session(String sessionId, InvokerCallbackHandler callbackHandler, String host) {
|
||||
public Session(String sessionId, InvokerCallbackHandler callbackHandler) {
|
||||
this.sessionId = sessionId;
|
||||
this.callbackHandler = (AsynchInvokerCallbackHandler) callbackHandler;
|
||||
this.host = host;
|
||||
this.isAdmin = false;
|
||||
this.timeConnected = new Date();
|
||||
}
|
||||
|
|
@ -134,4 +133,8 @@ public class Session {
|
|||
public Date getConnectionTime() {
|
||||
return timeConnected;
|
||||
}
|
||||
|
||||
void setHost(String hostAddress) {
|
||||
this.host = hostAddress;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue