Platform SDK Java 8.5 API Reference

com.genesyslab.platform.voice.protocol.runtime
Interface ConnectionProxy

All Known Implementing Classes:
ConnectionProxyImpl

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

getConnection

Connection getConnection()
Get phisical (real) connection of this proxy.

Returns:
phisical connection

setConnection

void setConnection(Connection connection)
Set phisical (real) connection of this proxy.

Parameters:
connection - phisical connection

getSync

java.lang.Object getSync()
Get synchronization object of this proxy.

Returns:
sync object

getSibling

ConnectionProxy getSibling()
Get sibling connection proxy.

Returns:
sibling connection

getState

HAConnState getState()
Get current state of the connection proxy.

Returns:
current state

setState

void setState(HAConnState state)
Set current state for the connection proxy.

Parameters:
state - current state

setLogicalConnectionState

void setLogicalConnectionState(ConnectionState state)
Set logical (parent, HA) connection state

Parameters:
state - connection state

getLogicalConnection

HAConnection getLogicalConnection()
Get logical (parent, HA) connection of this proxy.

Returns:
logical connection

getConnectionSettings

ConnectionSettings getConnectionSettings()

setConnectionSettings

void setConnectionSettings(ConnectionSettings connectionSettings)

getLinkMessage

Message getLinkMessage()

isRegistrationComplete

boolean isRegistrationComplete()

getConnectionState

ConnectionState getConnectionState()

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.