|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.voice.protocol.runtime.ConnectionProxyImpl
public class ConnectionProxyImpl
Constructor Summary | |
---|---|
ConnectionProxyImpl(HAConnection haConnection,
java.lang.Object sync,
java.lang.String proxyName)
|
Method Summary | |
---|---|
void |
close()
|
void |
configure(ConnectionConfiguration config)
|
void |
forceClose()
|
Connection |
getConnection()
Get phisical (real) connection of this proxy. |
ConnectionSettings |
getConnectionSettings()
|
ConnectionState |
getConnectionState()
|
com.genesyslab.platform.commons.connection.interceptor.Interceptor |
getInterceptor()
|
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 |
open()
|
void |
setConnection(Connection connection)
Set phisical (real) connection of this proxy. |
void |
setConnectionSettings(ConnectionSettings settings)
|
void |
setInvoker(AsyncInvoker invoker)
|
void |
setLinkMessage(Message linkMessage)
|
void |
setLogicalConnectionState(ConnectionState state)
Set logical (parent, HA) connection state |
void |
setRegistrationComplete(boolean registrationComplete)
|
void |
setSibling(ConnectionProxy sibling)
|
void |
setState(HAConnState state)
Set current state for the connection proxy. |
java.lang.String |
toString()
|
void |
write(Message msg)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConnectionProxyImpl(HAConnection haConnection, java.lang.Object sync, java.lang.String proxyName)
Method Detail |
---|
public HAConnection getLogicalConnection()
ConnectionProxy
getLogicalConnection
in interface ConnectionProxy
public Connection getConnection()
ConnectionProxy
getConnection
in interface ConnectionProxy
public ConnectionState getConnectionState()
getConnectionState
in interface ConnectionProxy
public void setConnection(Connection connection)
ConnectionProxy
setConnection
in interface ConnectionProxy
connection
- phisical connectionpublic java.lang.Object getSync()
ConnectionProxy
getSync
in interface ConnectionProxy
public ConnectionProxy getSibling()
ConnectionProxy
getSibling
in interface ConnectionProxy
public void setSibling(ConnectionProxy sibling)
public HAConnState getState()
ConnectionProxy
getState
in interface ConnectionProxy
public void setState(HAConnState state)
ConnectionProxy
setState
in interface ConnectionProxy
state
- current statepublic void setLogicalConnectionState(ConnectionState state)
ConnectionProxy
setLogicalConnectionState
in interface ConnectionProxy
state
- connection statepublic ConnectionSettings getConnectionSettings()
getConnectionSettings
in interface ConnectionProxy
public void setConnectionSettings(ConnectionSettings settings)
setConnectionSettings
in interface ConnectionProxy
public Message getLinkMessage()
getLinkMessage
in interface ConnectionProxy
public void setLinkMessage(Message linkMessage)
public boolean isRegistrationComplete()
isRegistrationComplete
in interface ConnectionProxy
public void setRegistrationComplete(boolean registrationComplete)
public void open()
public void close()
public void write(Message msg)
public void configure(ConnectionConfiguration config)
public java.lang.String toString()
toString
in class java.lang.Object
public com.genesyslab.platform.commons.connection.interceptor.Interceptor getInterceptor()
public void setInvoker(AsyncInvoker invoker)
public void forceClose()
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |