|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.jadv.lib.events.JAdvEvent | +--de.jadv.lib.events.toclient.AvailableRacesEvent
Sent all available Races to the client.
Field Summary | |
protected java.util.Collection |
_races
|
Constructor Summary | |
AvailableRacesEvent(java.nio.ByteBuffer buf)
|
|
AvailableRacesEvent(java.util.Collection races)
Constructor for JRacesEvent. |
Method Summary | |
java.nio.ByteBuffer |
encodeEvent()
|
java.util.Collection |
getRaces()
|
Methods inherited from class de.jadv.lib.events.JAdvEvent |
decodeEvent, encodeEvent, getCreateTime, isNewer, isOlder, readBackground, readString, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Collection _races
Constructor Detail |
public AvailableRacesEvent(java.util.Collection races)
public AvailableRacesEvent(java.nio.ByteBuffer buf) throws java.io.IOException
Method Detail |
public java.nio.ByteBuffer encodeEvent() throws java.io.IOException
encodeEvent
in class JAdvEvent
java.io.IOException
public java.util.Collection getRaces()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |