Modifiers | Name | Description |
---|---|---|
protected java.util.UUID |
hostId |
|
protected SerialHandles |
localHost |
|
private static java.lang.ThreadLocal<SerialContext> |
threadContext |
Constructor and description |
---|
SerialContext
(SerialHandles localHost, java.util.UUID hostId) |
Type | Name and description |
---|---|
void |
add(SerialHandle serialHandle) |
void |
enter() Enter to the context |
void |
finalizeHandle(SerialHandle handle) |
static SerialContext |
get() |
SerialHandle |
get(java.util.UUID id) |
java.util.UUID |
getHostId() |
java.util.UUID |
getLocalHostId() |
SerialContext |
getSerialHost(java.util.UUID hostId, java.lang.Object attachment) |
void |
leave() Leave this context |
void |
remove(SerialHandle serialHandle) |
void |
write(SerialMsg msg) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), 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() |
Enter to the context
Leave this context
Copyright © 2008–2014 Václav Pech. All Rights Reserved.