ESP OpenBCI - An EEG Signal Processing Library for OpenBCI Hardware

com.github.mrstampy.esp.multiconnectionsocket
Class MessageEvent<MESSAGE>

java.lang.Object
  extended by com.github.mrstampy.esp.multiconnectionsocket.MessageEvent<MESSAGE>
Type Parameters:
MESSAGE - the generic type

public class MessageEvent<MESSAGE>
extends java.lang.Object

Disruptor event to pass EEG device messages from the device to the MultiConnectionSocket's message processing.

Author:
burton

Constructor Summary
MessageEvent()
           
 
Method Summary
 MESSAGE getMessage()
          Gets the message.
 void setMessage(MESSAGE message)
          Sets the message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageEvent

public MessageEvent()
Method Detail

getMessage

public MESSAGE getMessage()
Gets the message.

Returns:
the message

setMessage

public void setMessage(MESSAGE message)
Sets the message.

Parameters:
message - the new message

brought to you by Mr. Stampy