|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectionProxy
Proxy for connection, delegates all its job to states. In HA connection proxies work in pair and knows about their sibling proxy.
Method Summary | |
---|---|
Connection |
getConnection()
Get phisical (real) connection of this proxy. |
ConnectionSettings |
getConnectionSettings()
|
ConnectionState |
getConnectionState()
|
Message |
getLinkMessage()
|
HAConnection |
getLogicalConnection()
Get logical (parent, HA) connection of this proxy. |
ConnectionProxy |
getSibling()
Get sibling connection proxy. |
HAConnState |
getState()
Get current state of the connection proxy. |
java.lang.Object |
getSync()
Get synchronization object of this proxy. |
boolean |
isRegistrationComplete()
|
void |
setConnection(Connection connection)
Set phisical (real) connection of this proxy. |
void |
setConnectionSettings(ConnectionSettings connectionSettings)
|
void |
setLogicalConnectionState(ConnectionState state)
Set logical (parent, HA) connection state |
void |
setState(HAConnState state)
Set current state for the connection proxy. |
Method Detail |
---|
Connection getConnection()
void setConnection(Connection connection)
connection
- phisical connectionjava.lang.Object getSync()
ConnectionProxy getSibling()
HAConnState getState()
void setState(HAConnState state)
state
- current statevoid setLogicalConnectionState(ConnectionState state)
state
- connection stateHAConnection getLogicalConnection()
ConnectionSettings getConnectionSettings()
void setConnectionSettings(ConnectionSettings connectionSettings)
Message getLinkMessage()
boolean isRegistrationComplete()
ConnectionState getConnectionState()
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |