|
org.codehaus.gpars | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovyx.gpars.remote.RemoteConnection
public abstract class RemoteConnection extends java.lang.Object
Represents connection to remote host
Field Summary | |
---|---|
private RemoteHost |
host
|
private LocalHost |
localHost
|
Constructor Summary | |
protected RemoteConnection(LocalHost provider)
|
Method Summary | |
---|---|
void
|
disconnect()
|
RemoteHost
|
getHost()
|
void
|
onConnect()
|
void
|
onDisconnect()
|
void
|
onException(java.lang.Throwable cause)
|
void
|
onMessage(SerialMsg msg)
|
void
|
setHost(RemoteHost host)
|
void
|
write(SerialMsg msg)
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Field Detail |
---|
private RemoteHost host
private final LocalHost localHost
Constructor Detail |
---|
protected RemoteConnection(LocalHost provider)
Method Detail |
---|
public void disconnect()
public RemoteHost getHost()
public void onConnect()
public void onDisconnect()
public void onException(java.lang.Throwable cause)
public void onMessage(SerialMsg msg)
public void setHost(RemoteHost host)
public void write(SerialMsg msg)
Copyright © 2008–2010 Václav Pech. All Rights Reserved.