public class TCPActorClient<T extends Actor> extends RemoteRefRegistry
| Modifier and Type | Class and Description |
|---|---|
class |
TCPActorClient.ActorClient |
conf, currentObjectSocket, disconnectHandler, terminated| Constructor and Description |
|---|
TCPActorClient(Class<? extends Actor> clz,
String host,
int port) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect() |
static <AC extends Actor> |
Connect(Class<AC> clz,
String host,
int port) |
static <AC extends Actor> |
Connect(Class<AC> clz,
String host,
int port,
java.util.function.Consumer<Actor> disconnectHandler) |
T |
getFacadeProxy() |
boolean |
isConnected() |
protected void |
remoteRefStopped(Actor actor)
warning: MThreaded
|
cleanUp, close, configureConfiguration, getConf, getDisconnectHandler, getPublishedActor, getPublishedCallback, getRemoteActors, getRemoteCallInterceptor, getScheduler, isTerminated, publishActor, receiveCBResult, receiveLoop, registerPublishedCallback, registerRemoteActorRef, registerRemoteRefDirect, removePublishedObject, sendLoop, setDisconnectHandler, setRemoteCallInterceptor, setTerminated, singleReceive, singleSendLoop, stopRemoteRefs, unpublishActor, writeObjectpublic TCPActorClient(Class<? extends Actor> clz, String host, int port) throws IOException
IOExceptionpublic static <AC extends Actor> Future<AC> Connect(Class<AC> clz, String host, int port) throws IOException
IOExceptionpublic static <AC extends Actor> Future<AC> Connect(Class<AC> clz, String host, int port, java.util.function.Consumer<Actor> disconnectHandler) throws IOException
IOExceptionpublic T getFacadeProxy()
getFacadeProxy in class RemoteRefRegistrypublic void connect()
throws IOException
IOExceptionpublic boolean isConnected()
protected void remoteRefStopped(Actor actor)
RemoteRefRegistryremoteRefStopped in class RemoteRefRegistryCopyright © 2015. All rights reserved.