|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.voice.protocol.runtime.TServerConnContext
public class TServerConnContext
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 |
---|
public TServerConnContext()
Method Detail |
---|
public ConnectionSettings getMasterSettings()
public void setMasterSettings(ConnectionSettings masterSettings)
public com.genesyslab.platform.commons.timer.TimerActionTicket getBackupReconnectionTicket()
public void setBackupReconnectionTicket(com.genesyslab.platform.commons.timer.TimerActionTicket backupReconnectionTicket)
public com.genesyslab.platform.commons.timer.TimerActionTicket getSwitchoverTicket()
public void setSwitchoverTicket(com.genesyslab.platform.commons.timer.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()
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |