|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.universAAL.lddi.zwave.exporter.Server.ConnectionLinker
public class ConnectionLinker
Links connection Id with actual connections.
Constructor Summary | |
---|---|
ConnectionLinker()
Constructor. |
Method Summary | |
---|---|
void |
addConnection(ISocketServerConnection connection)
Adds a new connection. |
ISocketServerConnection |
getConnectionById(int id)
Returns the connection with the required id. |
int |
getNextConnectionId()
. |
void |
removeConnection(ISocketServerConnection connection)
Removes a connection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectionLinker()
Method Detail |
---|
public void addConnection(ISocketServerConnection connection)
connection
- connectionpublic ISocketServerConnection getConnectionById(int id)
id
- id of the connection
public int getNextConnectionId() throws Exception
Exception
- when no connection ID available.public void removeConnection(ISocketServerConnection connection)
connection
- connection.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |