Platform SDK Java 8.5 API Reference

com.genesyslab.platform.voice.protocol.runtime
Class ConnectionProxyImpl

java.lang.Object
  extended by com.genesyslab.platform.voice.protocol.runtime.ConnectionProxyImpl
All Implemented Interfaces:
ConnectionProxy

public class ConnectionProxyImpl
extends java.lang.Object
implements ConnectionProxy


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

ConnectionProxyImpl

public ConnectionProxyImpl(HAConnection haConnection,
                           java.lang.Object sync,
                           java.lang.String proxyName)
Method Detail

getLogicalConnection

public HAConnection getLogicalConnection()
Description copied from interface: ConnectionProxy
Get logical (parent, HA) connection of this proxy.

Specified by:
getLogicalConnection in interface ConnectionProxy
Returns:
logical connection

getConnection

public Connection getConnection()
Description copied from interface: ConnectionProxy
Get phisical (real) connection of this proxy.

Specified by:
getConnection in interface ConnectionProxy
Returns:
phisical connection

getConnectionState

public ConnectionState getConnectionState()
Specified by:
getConnectionState in interface ConnectionProxy

setConnection

public void setConnection(Connection connection)
Description copied from interface: ConnectionProxy
Set phisical (real) connection of this proxy.

Specified by:
setConnection in interface ConnectionProxy
Parameters:
connection - phisical connection

getSync

public java.lang.Object getSync()
Description copied from interface: ConnectionProxy
Get synchronization object of this proxy.

Specified by:
getSync in interface ConnectionProxy
Returns:
sync object

getSibling

public ConnectionProxy getSibling()
Description copied from interface: ConnectionProxy
Get sibling connection proxy.

Specified by:
getSibling in interface ConnectionProxy
Returns:
sibling connection

setSibling

public void setSibling(ConnectionProxy sibling)

getState

public HAConnState getState()
Description copied from interface: ConnectionProxy
Get current state of the connection proxy.

Specified by:
getState in interface ConnectionProxy
Returns:
current state

setState

public void setState(HAConnState state)
Description copied from interface: ConnectionProxy
Set current state for the connection proxy.

Specified by:
setState in interface ConnectionProxy
Parameters:
state - current state

setLogicalConnectionState

public void setLogicalConnectionState(ConnectionState state)
Description copied from interface: ConnectionProxy
Set logical (parent, HA) connection state

Specified by:
setLogicalConnectionState in interface ConnectionProxy
Parameters:
state - connection state

getConnectionSettings

public ConnectionSettings getConnectionSettings()
Specified by:
getConnectionSettings in interface ConnectionProxy

setConnectionSettings

public void setConnectionSettings(ConnectionSettings settings)
Specified by:
setConnectionSettings in interface ConnectionProxy

getLinkMessage

public Message getLinkMessage()
Specified by:
getLinkMessage in interface ConnectionProxy

setLinkMessage

public void setLinkMessage(Message linkMessage)

isRegistrationComplete

public boolean isRegistrationComplete()
Specified by:
isRegistrationComplete in interface ConnectionProxy

setRegistrationComplete

public void setRegistrationComplete(boolean registrationComplete)

open

public void open()

close

public void close()

write

public void write(Message msg)

configure

public void configure(ConnectionConfiguration config)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getInterceptor

public com.genesyslab.platform.commons.connection.interceptor.Interceptor getInterceptor()

setInvoker

public void setInvoker(AsyncInvoker invoker)

forceClose

public void forceClose()

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.