|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgpars.serial.SerialContext
public abstract class SerialContext
Field Summary | |
---|---|
protected UUID |
hostId
|
protected SerialHandles |
localHost
|
Constructor Summary | |
SerialContext(SerialHandles localHost, UUID hostId)
|
Method Summary | |
---|---|
void
|
add(SerialHandle serialHandle)
|
void
|
enter()
Enter to the context |
void
|
finalizeHandle(SerialHandle handle)
|
static SerialContext
|
get()
|
SerialHandle
|
get(UUID id)
|
UUID
|
getHostId()
|
UUID
|
getLocalHostId()
|
SerialContext
|
getSerialHost(UUID hostId, Object attachment)
|
void
|
leave()
Leave this context |
void
|
remove(SerialHandle serialHandle)
|
void
|
write(SerialMsg msg)
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
protected final UUID hostId
protected final SerialHandles localHost
Constructor Detail |
---|
public SerialContext(SerialHandles localHost, UUID hostId)
Method Detail |
---|
public void add(SerialHandle serialHandle)
public final void enter()
public void finalizeHandle(SerialHandle handle)
public static SerialContext get()
public SerialHandle get(UUID id)
public UUID getHostId()
public UUID getLocalHostId()
public SerialContext getSerialHost(UUID hostId, Object attachment)
public final void leave()
public void remove(SerialHandle serialHandle)
public void write(SerialMsg msg)
Groovy Documentation