public class TServerConnContext
extends java.lang.Object
Constructor | Description |
---|---|
TServerConnContext() |
Modifier and Type | Method | Description |
---|---|---|
void |
clear() |
Used on close, should leave context in the state
that supports reopening of connection
|
TimerActionTicket |
getBackupReconnectionTicket() |
|
ConnectionSettings |
getMasterSettings() |
|
RegistrationHandler |
getRegistrationHandler() |
|
int |
getSessionId() |
|
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(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(TimerActionTicket switchoverTicket) |
|
void |
setUserLinkStatus(int messageId) |
public ConnectionSettings getMasterSettings()
public void setMasterSettings(ConnectionSettings masterSettings)
public TimerActionTicket getBackupReconnectionTicket()
public void setBackupReconnectionTicket(TimerActionTicket backupReconnectionTicket)
public TimerActionTicket getSwitchoverTicket()
public void setSwitchoverTicket(TimerActionTicket switchoverTicket)
public int getUserLinkStatus()
public void setUserLinkStatus(int messageId)
public RegistrationHandler getRegistrationHandler()
public void setRegistrationHandler(RegistrationHandler registrationHandler)
public int getSessionId()
public void setSessionId(int sessionId)
public boolean isSkipPrimaryChanged()
public void setSkipPrimaryChanged(boolean skipPrimaryChanged)
skipPrimaryChanged
- if EPCh should be skippedpublic void clear()
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.