public abstract class AbstractSessionEvent extends GenericEvent implements NetEvent
GenericEvent.Listener, GenericEvent.Source
Constructor and Description |
---|
AbstractSessionEvent(SessionId sessId) |
Modifier and Type | Method and Description |
---|---|
SessionId |
getSessionId()
Returns the SessionId of the client who caused the change.
|
void |
setWasCausedByMe(boolean wasCausedByMe)
Tells whether the event was caused by the client himself.
|
DumpString |
toDumpString(DumpString s)
This method allows subclasses to add values to the existing DumpString of the superclass.
|
ToString |
toString(ToString s)
This method allows subclasses to add values to the existing ToString of the superclass.
|
boolean |
wasCausedByMe()
Tells whether the database change was caused by the client himself.
|
clone, deepClone
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toString
public AbstractSessionEvent(SessionId sessId)
public boolean wasCausedByMe()
wasCausedByMe
in interface NetEvent
NetEvent.setWasCausedByMe(boolean)
public void setWasCausedByMe(boolean wasCausedByMe)
NetEvent
setWasCausedByMe
in interface NetEvent
NetEvent.wasCausedByMe()
public SessionId getSessionId()
getSessionId
in interface NetEvent
public ToString toString(ToString s)
Dumpable
toString
in interface Dumpable
toString
in class DumpableObject
public DumpString toDumpString(DumpString s)
Dumpable
toDumpString
in interface Dumpable
toDumpString
in class DumpableObject
Copyright © 2014 EsprIT-Systems. All Rights Reserved.