Class BodyEvent

java.lang.Object
  |
  +--Event
        |
        +--BodyEvent

public class BodyEvent
extends Event

The class BodyEvent trasforms the information from server and writes it into a Vector


Constructor Summary
BodyEvent(java.lang.String message)
          creates an new BodyEvent instance
 
Method Summary
 void add(BodyInfo bodyInfo)
          Adds an new BodyInfo instance to th Vector
 java.util.Enumeration elements()
          an Enumeration of the Vector
 boolean isBodyEvent()
          tests, if there is an body event incoming
 
Methods inherited from class Event
isAcousticEvent, isVisualEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BodyEvent

public BodyEvent(java.lang.String message)
creates an new BodyEvent instance
Parameters:
message - a String value
Method Detail

elements

public java.util.Enumeration elements()
an Enumeration of the Vector

add

public void add(BodyInfo bodyInfo)
Adds an new BodyInfo instance to th Vector

isBodyEvent

public boolean isBodyEvent()
tests, if there is an body event incoming
Overrides:
isBodyEvent in class Event
Parameters:
a - boolean value