public class IMCConnection
extends java.lang.Object
Constructor and Description |
---|
IMCConnection(java.lang.String remoteSystem) |
Modifier and Type | Method and Description |
---|---|
boolean |
isConnected() |
static void |
main(java.lang.String[] args) |
<T extends IMCMessage> |
recv(java.lang.Class<T> clazz,
long timeoutMillis) |
IMCMessage |
recv(java.lang.String abbrev,
long timeoutMillis) |
boolean |
send(IMCMessage m) |
void |
stop() |
public boolean send(IMCMessage m)
public void stop()
public boolean isConnected()
public IMCMessage recv(java.lang.String abbrev, long timeoutMillis)
public <T extends IMCMessage> T recv(java.lang.Class<T> clazz, long timeoutMillis)
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception