Platform SDK Java 8.5 API Reference

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

java.lang.Object
  extended by com.genesyslab.platform.voice.protocol.runtime.TServerConnContext

public class TServerConnContext
extends java.lang.Object


Constructor Summary
TServerConnContext()
           
 
Method Summary
 void clear()
          Used on close, should leave context in the state that supports reopening of connection
 com.genesyslab.platform.commons.timer.TimerActionTicket getBackupReconnectionTicket()
           
 ConnectionSettings getMasterSettings()
           
 RegistrationHandler getRegistrationHandler()
           
 int getSessionId()
           
 com.genesyslab.platform.commons.timer.TimerActionTicket getSwitchoverTicket()
           
 int getUserLinkStatus()
          Last link status sent to user: -1 - unknown, messageId of linkEvent - if known
 boolean isSkipPrimaryChanged()
          If true - connection in the state when we need to skip publishing of EventPrimaryChanged when it comes from Backup TServer.
 void setBackupReconnectionTicket(com.genesyslab.platform.commons.timer.TimerActionTicket backupReconnectionTicket)
           
 void setMasterSettings(ConnectionSettings masterSettings)
           
 void setRegistrationHandler(RegistrationHandler registrationHandler)
           
 void setSessionId(int sessionId)
           
 void setSkipPrimaryChanged(boolean skipPrimaryChanged)
          If true - connection in the state when we need to skip publishing of EventPrimaryChanged when it comes from Backup TServer.
 void setSwitchoverTicket(com.genesyslab.platform.commons.timer.TimerActionTicket switchoverTicket)
           
 void setUserLinkStatus(int messageId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TServerConnContext

public TServerConnContext()
Method Detail

getMasterSettings

public ConnectionSettings getMasterSettings()

setMasterSettings

public void setMasterSettings(ConnectionSettings masterSettings)

getBackupReconnectionTicket

public com.genesyslab.platform.commons.timer.TimerActionTicket getBackupReconnectionTicket()

setBackupReconnectionTicket

public void setBackupReconnectionTicket(com.genesyslab.platform.commons.timer.TimerActionTicket backupReconnectionTicket)

getSwitchoverTicket

public com.genesyslab.platform.commons.timer.TimerActionTicket getSwitchoverTicket()

setSwitchoverTicket

public void setSwitchoverTicket(com.genesyslab.platform.commons.timer.TimerActionTicket switchoverTicket)

getUserLinkStatus

public int getUserLinkStatus()
Last link status sent to user: -1 - unknown, messageId of linkEvent - if known

Returns:
id of the link status message

setUserLinkStatus

public void setUserLinkStatus(int messageId)

getRegistrationHandler

public RegistrationHandler getRegistrationHandler()

setRegistrationHandler

public void setRegistrationHandler(RegistrationHandler registrationHandler)

getSessionId

public int getSessionId()

setSessionId

public void setSessionId(int sessionId)

isSkipPrimaryChanged

public boolean isSkipPrimaryChanged()
If true - connection in the state when we need to skip publishing of EventPrimaryChanged when it comes from Backup TServer. See HA_TLib 1.3.2

Returns:
true - if EPCh should be skipped

setSkipPrimaryChanged

public void setSkipPrimaryChanged(boolean skipPrimaryChanged)
If true - connection in the state when we need to skip publishing of EventPrimaryChanged when it comes from Backup TServer. See HA_TLib 1.3.2

Parameters:
skipPrimaryChanged - if EPCh should be skipped

clear

public void clear()
Used on close, should leave context in the state that supports reopening of connection


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.