Class ActorServer
java.lang.Object
org.nustaq.kontraktor.remoting.base.ActorServer
public class ActorServer
extends java.lang.Object
Created by ruedi on 09/05/15.
-
Field Summary
Fields Modifier and Type Field Description protected Codingcodingprotected org.nustaq.serialization.FSTConfigurationconfprotected ActorServerConnectorconnectorprotected Actorfacadeprotected java.lang.ThreadLocal<RemoteRefPolling>poller -
Constructor Summary
Constructors Constructor Description ActorServer(ActorServerConnector connector, Actor facade, Coding coding) -
Method Summary
Modifier and Type Method Description IPromiseclose()ActorServerConnectorgetConnector()ActorgetFacade()voidstart()voidstart(java.util.function.Consumer<Actor> disconnectHandler)
-
Field Details
-
Constructor Details
-
ActorServer
public ActorServer(ActorServerConnector connector, Actor facade, Coding coding) throws java.lang.Exception- Throws:
java.lang.Exception
-
-
Method Details
-
getConnector
-
start
public void start() throws java.lang.Exception- Throws:
java.lang.Exception
-
start
- Throws:
java.lang.Exception
-
close
-
getFacade
-