ConnectionProxy
public class ConnectionProxyImpl extends java.lang.Object implements ConnectionProxy
Constructor | Description |
---|---|
ConnectionProxyImpl(HAConnection haConnection,
java.lang.Object sync,
java.lang.String proxyName) |
Modifier and Type | Method | Description |
---|---|---|
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 |
isPsRegistrationComplete() |
|
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 |
setPsRegistrationComplete(boolean registrationComplete) |
|
void |
setRegistrationComplete(boolean registrationComplete) |
|
void |
setSibling(ConnectionProxyImpl sibling) |
|
void |
setState(HAConnState state) |
Set current state for the connection proxy.
|
java.lang.String |
toString() |
|
boolean |
write(Message msg) |
public ConnectionProxyImpl(HAConnection haConnection, java.lang.Object sync, java.lang.String proxyName)
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(ConnectionProxyImpl 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 boolean isPsRegistrationComplete()
public void setPsRegistrationComplete(boolean registrationComplete)
public void open()
public void close()
public boolean 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()
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.