public class CoServerConnectionEvent extends SystemEvent
Modifier and Type | Class and Description |
---|---|
static interface |
CoServerConnectionEvent.Listener |
static interface |
CoServerConnectionEvent.Source |
Constructor and Description |
---|
CoServerConnectionEvent(CoSessionId coSessId,
ConnectionStatus status) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCoServerName() |
CoSessionId |
getSessionId()
Returns the
CoSessionId of the connected CoClientContext |
boolean |
isConnected() |
boolean |
isConnectionLost() |
boolean |
isDisconnected() |
boolean |
isOffline() |
boolean |
isOnline() |
boolean |
isReconnected() |
ToString |
toString(ToString s)
This method allows subclasses to add values to the existing ToString of the superclass.
|
setWasCausedByMe, toDumpString, wasCausedByMe
clone, deepClone
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toString
public CoServerConnectionEvent(CoSessionId coSessId, ConnectionStatus status)
public CoSessionId getSessionId()
CoSessionId
of the connected CoClientContext
getSessionId
in interface NetEvent
getSessionId
in class AbstractSessionEvent
public java.lang.String getCoServerName()
public boolean isConnected()
public boolean isReconnected()
public boolean isDisconnected()
public boolean isConnectionLost()
public boolean isOnline()
public boolean isOffline()
public ToString toString(ToString s)
Dumpable
toString
in interface Dumpable
toString
in class AbstractSessionEvent
Copyright © 2014 EsprIT-Systems. All Rights Reserved.