Package | Description |
---|---|
groovyx.gpars.actor |
This package holds classes forming the public actor API.
|
groovyx.gpars.remote |
This package holds classes implementing the remote actors functionality.
|
groovyx.gpars.serial |
This package holds classes used for actor identification in the network.
|
Modifier and Type | Method and Description |
---|---|
protected WithSerialId |
Actor.MyRemoteHandle.createObject(SerialContext context) |
protected RemoteHandle |
Actor.createRemoteHandle(SerialHandle handle,
SerialContext host) |
Constructor and Description |
---|
Actor.MyRemoteHandle(SerialHandle handle,
SerialContext host,
DataflowExpression<java.lang.Object> joinLatch) |
Actor.RemoteActor(SerialContext host,
DataflowExpression<java.lang.Object> jointLatch) |
Modifier and Type | Class and Description |
---|---|
class |
RemoteHost
Representation of remote host connected to transport provider
|
Modifier and Type | Field and Description |
---|---|
private SerialContext |
RemoteNode.remoteHost |
Modifier and Type | Method and Description |
---|---|
SerialContext |
RemoteNode.getRemoteHost() |
SerialContext |
LocalHost.getSerialHost(java.util.UUID hostId,
java.lang.Object attachment) |
Modifier and Type | Method and Description |
---|---|
void |
LocalHost.connectRemoteNode(java.util.UUID nodeId,
SerialContext host,
Actor mainActor) |
void |
LocalHost.onDisconnect(SerialContext host) |
Constructor and Description |
---|
RemoteNode(java.util.UUID id,
SerialContext remoteHost,
Actor mainActor) |
Modifier and Type | Field and Description |
---|---|
protected SerialContext |
SerialHandle.context
local host
|
Modifier and Type | Field and Description |
---|---|
private static java.lang.ThreadLocal<SerialContext> |
SerialContext.threadContext |
Modifier and Type | Method and Description |
---|---|
static SerialContext |
SerialContext.get() |
SerialContext |
SerialContext.getSerialHost(java.util.UUID hostId,
java.lang.Object attachment) |
abstract SerialContext |
SerialHandles.getSerialHost(java.util.UUID hostId,
java.lang.Object attachment) |
Modifier and Type | Method and Description |
---|---|
protected WithSerialId |
DefaultRemoteHandle.createObject(SerialContext context) |
protected abstract WithSerialId |
RemoteHandle.createObject(SerialContext context) |
protected RemoteHandle |
WithSerialId.createRemoteHandle(SerialHandle handle,
SerialContext host) |
void |
SerialHandle.subscribe(SerialContext context)
Subscribes host as interested in the object
|
void |
SerialHandle.unsubscribe(SerialContext context) |