public class MultiEvent extends Event
Constructor and Description |
---|
MultiEvent() |
MultiEvent(AOByteBuffer buf,
ClientConnection con) |
Modifier and Type | Method and Description |
---|---|
void |
add(Event event) |
java.util.List<Event> |
getEvents()
returns a shallow copy of the events
|
java.lang.String |
getName() |
void |
parseBytes(AOByteBuffer buf)
load this event from the passed in buffer
called by the constructor
|
void |
setEvents(java.util.List<Event> events)
sets the list of events to be sent over, makes a copy of the list
shallow copy
|
AOByteBuffer |
toBytes() |
getBuffer, getConnection, getEnqueueTime, getObjectOid, setBuffer, setConnection, setEnqueueTime, setEntity, setObject, setObjectOid, toString
protected static final Logger log
public MultiEvent()
public MultiEvent(AOByteBuffer buf, ClientConnection con)
public void add(Event event)
public void setEvents(java.util.List<Event> events)
public java.util.List<Event> getEvents()
public void parseBytes(AOByteBuffer buf)
Event
parseBytes
in interface EventParser
parseBytes
in class Event
public AOByteBuffer toBytes()