|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object maslab.telemetry.JugHub.Connection
public abstract class JugHub.Connection
Represents one TCP connection to a client, including reader and writer threads.
Constructor Summary | |
---|---|
JugHub.Connection()
|
Method Summary | |
---|---|
void |
in(maslab.telemetry.JugPacket p)
Called by a connection when a packet is received from a JugClient |
void |
init()
should be called by sub classes after initialization is finished and connection is established. |
abstract void |
out(maslab.telemetry.JugPacket p)
JugHub calls this method when it wishes to send a message |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JugHub.Connection()
Method Detail |
---|
public void init()
public abstract void out(maslab.telemetry.JugPacket p)
public final void in(maslab.telemetry.JugPacket p) throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |