|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.hyades.internal.execution.local.common.MultiplexedDataServer
public class MultiplexedDataServer
Please see TCPDataServer for implmentation details.
| Field Summary | |
|---|---|
static byte |
BINARY_DATA
|
static byte |
UNICODE_STRING_DATA
|
static byte |
UTF8_STRING_DATA
|
| Constructor Summary | |
|---|---|
MultiplexedDataServer()
|
|
| Method Summary | |
|---|---|
void |
agentActive(Agent agent)
Invoked when an agent first becomes active |
void |
agentInactive(Agent agent)
Invoked when an agent becomes inactive. |
void |
error(Agent agent,
java.lang.String errorId,
java.lang.String errorMessage)
Invoked when an error is recieved from the agent. |
void |
handleCommand(Agent agent,
CommandElement command)
Invoked when there is no established handler for the context of a message. |
void |
incommingData(byte[] b,
java.net.InetAddress peer)
|
void |
incommingData(char[] c,
java.net.InetAddress peer)
|
boolean |
isProcessing()
|
void |
resumeServer()
|
void |
resumeServer(DataProcessor processor)
|
void |
shutdownServer()
|
void |
startServer(DataProcessor processor)
|
void |
stopServer()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final byte BINARY_DATA
public static final byte UTF8_STRING_DATA
public static final byte UNICODE_STRING_DATA
| Constructor Detail |
|---|
public MultiplexedDataServer()
| Method Detail |
|---|
public void startServer(DataProcessor processor)
throws java.lang.Exception
java.lang.Exceptionpublic boolean isProcessing()
public void stopServer()
public void resumeServer()
public void resumeServer(DataProcessor processor)
public void shutdownServer()
public void incommingData(byte[] b,
java.net.InetAddress peer)
public void incommingData(char[] c,
java.net.InetAddress peer)
public void agentActive(Agent agent)
AgentListener
agentActive in interface AgentListenerpublic void agentInactive(Agent agent)
AgentListener
agentInactive in interface AgentListener
public void error(Agent agent,
java.lang.String errorId,
java.lang.String errorMessage)
AgentListener
error in interface AgentListener
public void handleCommand(Agent agent,
CommandElement command)
AgentListener
handleCommand in interface AgentListener
|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||