|
||||||||||
| 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<java.lang.String,java.lang.Object> pProperties)
Creates a new instance of ConnectionInfo with predefined
connection properties. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getConnectionId()
Gets the connection identifier. |
long |
getLastCallTime()
Gets the time in millis when the last call was sent to the server. |
ChangedHashtable<java.lang.String,java.lang.Object> |
getProperties()
Gets the current connection properties. |
void |
setConnectionId(java.lang.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<java.lang.String,java.lang.Object> pProperties)
ConnectionInfo with predefined
connection properties.
pProperties - the predefined connection properties| Method Detail |
|---|
public void setConnectionId(java.lang.Object pConnectionId)
pConnectionId - the connection identifierpublic java.lang.Object getConnectionId()
null if the connection
is not establishedpublic ChangedHashtable<java.lang.String,java.lang.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 | |||||||||