public class TcpTransport
extends java.lang.Object
Constructor and Description |
---|
TcpTransport() |
Modifier and Type | Method and Description |
---|---|
void |
addMessageListener(pt.lsts.neptus.messages.listener.MessageListener<pt.lsts.neptus.messages.listener.MessageInfo,IMCMessage> l) |
void |
bind(int port) |
static void |
main(java.lang.String[] args) |
void |
removeMessageListener(pt.lsts.neptus.messages.listener.MessageListener<pt.lsts.neptus.messages.listener.MessageInfo,IMCMessage> l) |
java.util.concurrent.Future<java.lang.Boolean> |
send(java.lang.String host,
int port,
IMCMessage msg,
int timeoutMillis) |
void |
shutdown() |
public void addMessageListener(pt.lsts.neptus.messages.listener.MessageListener<pt.lsts.neptus.messages.listener.MessageInfo,IMCMessage> l)
public void removeMessageListener(pt.lsts.neptus.messages.listener.MessageListener<pt.lsts.neptus.messages.listener.MessageInfo,IMCMessage> l)
public void shutdown()
public java.util.concurrent.Future<java.lang.Boolean> send(java.lang.String host, int port, IMCMessage msg, int timeoutMillis)
public void bind(int port) throws java.lang.Exception
java.lang.Exception
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception