|
ESP OpenBCI - An EEG Signal Processing Library for OpenBCI Hardware | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.github.mrstampy.esp.multiconnectionsocket.AbstractSocketConnector<OpenBCIEventType>
com.github.mrstampy.esp.openbci.subscription.OpenBCISocketConnector
public class OpenBCISocketConnector
The Class OpenBCISocketConnector.
| Field Summary |
|---|
| Fields inherited from class com.github.mrstampy.esp.multiconnectionsocket.AbstractSocketConnector |
|---|
BROADCASTER_PORT, connector, SOCKET_BROADCASTER_KEY |
| Constructor Summary | |
|---|---|
OpenBCISocketConnector(java.lang.String socketBroadcasterHost)
Instantiates a new open bci socket connector. |
|
| Method Summary | |
|---|---|
void |
addListener(OpenBCIEventListener l)
Adds the listener. |
void |
clearListeners()
Clear listeners. |
protected void |
processEvent(AbstractMultiConnectionEvent<OpenBCIEventType> message)
Process event. |
void |
removeListener(OpenBCIEventListener l)
Removes the listener. |
boolean |
subscribe()
Subscribe. |
boolean |
subscribeAll()
Subscribes to all EventTypes, barring
EventType#signalProcessed. |
| Methods inherited from class com.github.mrstampy.esp.multiconnectionsocket.AbstractSocketConnector |
|---|
connect, disconnect, isConnected, subscribe |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OpenBCISocketConnector(java.lang.String socketBroadcasterHost)
socketBroadcasterHost - the socket broadcaster host| Method Detail |
|---|
public void addListener(OpenBCIEventListener l)
l - the lpublic void removeListener(OpenBCIEventListener l)
l - the lpublic void clearListeners()
public boolean subscribe()
public boolean subscribeAll()
AbstractSocketConnectorEventTypes, barring
EventType#signalProcessed.
subscribeAll in class AbstractSocketConnector<OpenBCIEventType>protected void processEvent(AbstractMultiConnectionEvent<OpenBCIEventType> message)
AbstractSocketConnector
processEvent in class AbstractSocketConnector<OpenBCIEventType>message - the message
|
brought to you by Mr. Stampy | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||