Class AcousticEvent

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

public class AcousticEvent
extends Event

The class AcousticEvent transforms the information from server and writes it into a Vector


Constructor Summary
AcousticEvent(java.lang.String message)
          creates a new AcoustisEvent instance
 
Method Summary
 void add(AcousticInfo acousticInfo)
          Adds a new AcousticInfo to the Vector
 java.util.Enumeration elements()
          The Enumeration of the Vector which contains all the information about the hear messages
 boolean isAcousticEvent()
          tests if there is an acoustic event incoming
 
Methods inherited from class Event
isBodyEvent, isVisualEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AcousticEvent

public AcousticEvent(java.lang.String message)
creates a new AcoustisEvent instance
Parameters:
message -  
Method Detail

elements

public java.util.Enumeration elements()
The Enumeration of the Vector which contains all the information about the hear messages
Returns:
an Enumeration of the Vector

add

public void add(AcousticInfo acousticInfo)
Adds a new AcousticInfo to the Vector
Parameters:
an - AcousticInfo value

isAcousticEvent

public boolean isAcousticEvent()
tests if there is an acoustic event incoming
Overrides:
isAcousticEvent in class Event
Returns:
an boolean value