Groovy Documentation

gpars.remote
[Java] Class RemoteConnection

java.lang.Object
  gpars.remote.RemoteConnection

public abstract class RemoteConnection

Represents connection to remote host

Authors:
Alex Tkachman


Constructor Summary
RemoteConnection(LocalHost provider)

 
Method Summary
void disconnect()

RemoteHost getHost()

void onConnect()

void onDisconnect()

void onException(Throwable cause)

void onMessage(SerialMsg msg)

void setHost(RemoteHost host)

void write(SerialMsg msg)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Constructor Detail

RemoteConnection

public RemoteConnection(LocalHost provider)


 
Method Detail

disconnect

public void disconnect()


getHost

public RemoteHost getHost()


onConnect

public void onConnect()


onDisconnect

public void onDisconnect()


onException

public void onException(Throwable cause)


onMessage

public void onMessage(SerialMsg msg)


setHost

public void setHost(RemoteHost host)


write

public void write(SerialMsg msg)


 

Groovy Documentation