|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.rad.remote.ConnectionInfo
public class ConnectionInfo
The ConnectionInfo
holds all important connection information:
The information will be needed to communicate with any server through an
IConnection
implementation.
IConnection
Constructor Summary | |
---|---|
ConnectionInfo()
Creates a new instance of ConnectionInfo . |
|
ConnectionInfo(ChangedHashtable<String,Object> pProperties)
Creates a new instance of ConnectionInfo with predefined
connection properties. |
Method Summary | |
---|---|
Object |
getConnectionId()
Gets the connection identifier. |
long |
getLastCallTime()
Gets the time in millis when the last call was sent to the server. |
ChangedHashtable<String,Object> |
getProperties()
Gets the current connection properties. |
void |
setConnectionId(Object pConnectionId)
Sets the connection identifier. |
void |
setLastCallTime(long pTime)
Sets the time in millis when the last call was sent to the server. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectionInfo()
ConnectionInfo
.
public ConnectionInfo(ChangedHashtable<String,Object> pProperties)
ConnectionInfo
with predefined
connection properties.
pProperties
- the predefined connection propertiesMethod Detail |
---|
public void setConnectionId(Object pConnectionId)
pConnectionId
- the connection identifierpublic Object getConnectionId()
null
if the connection
is not establishedpublic ChangedHashtable<String,Object> getProperties()
public void setLastCallTime(long pTime)
pTime
- the time in millispublic long getLastCallTime()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |