|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.xfactorstudio.ahawasi.Request
The Request object provided to a message hander
Constructor Summary | |
Request(Ahawasi server,
SocketService service,
ClientThread client)
|
Method Summary | |
java.lang.String |
getApplicationVariable(java.lang.String varName)
|
java.util.Hashtable |
getApplicationVariables()
|
ClientThread |
getClient()
|
ClientThread |
getClient(int port,
long uid)
|
java.lang.String |
getClientIP()
returns the IP address of the this client |
java.lang.String |
getClientIP(long userID)
returns a clients IP address given a userID if the id is not found, returns null |
java.lang.String |
getClientIP(java.lang.String userName)
returns a clients IP address given a username if the name is not found, returns null |
ClientList |
getClientList()
return the clientList for current service |
ClientList |
getClientList(int port)
return the clientList of the service specified by the port number |
java.lang.String |
getServerVariable(java.lang.String varName)
|
java.util.Hashtable |
getServerVariables()
|
SocketService |
getService()
|
SocketService |
getService(int port)
|
ServiceList |
getServiceList()
|
java.lang.String |
getSessionVariable(java.lang.String varName)
|
java.util.Hashtable |
getSessionVariables()
|
long |
getTotalBytesRecieved()
|
long |
getTotalBytesSent()
|
long |
getUserID()
return the ID of this user |
java.lang.String |
getUserName()
Returns this users name |
java.lang.String |
getUserName(long userId)
returns a clients IP address given a userID if the id is not found, returns null |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Request(Ahawasi server, SocketService service, ClientThread client)
Method Detail |
public ClientList getClientList()
public SocketService getService()
public SocketService getService(int port)
public ClientThread getClient(int port, long uid)
public ClientThread getClient()
public ClientList getClientList(int port)
public long getUserID()
public java.lang.String getClientIP()
public java.lang.String getClientIP(long userID)
public java.lang.String getClientIP(java.lang.String userName)
public java.lang.String getUserName()
public java.lang.String getUserName(long userId)
public java.lang.String getServerVariable(java.lang.String varName)
public java.lang.String getApplicationVariable(java.lang.String varName)
public java.lang.String getSessionVariable(java.lang.String varName)
public java.util.Hashtable getServerVariables()
public long getTotalBytesSent()
public long getTotalBytesRecieved()
public java.util.Hashtable getApplicationVariables()
public java.util.Hashtable getSessionVariables()
public ServiceList getServiceList()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |