public class TCPNIOPublisher extends Object implements ActorPublisher
| Constructor and Description |
|---|
TCPNIOPublisher() |
TCPNIOPublisher(Actor facade,
int port) |
| Modifier and Type | Method and Description |
|---|---|
TCPNIOPublisher |
coding(Coding coding) |
TCPNIOPublisher |
facade(Actor facade) |
Coding |
getCoding() |
Actor |
getFacade() |
int |
getPort() |
TCPNIOPublisher |
port(int port) |
IPromise<ActorServer> |
publish(Consumer<Actor> disconnectHandler) |
TCPNIOPublisher |
serType(SerializerType type) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublishpublic TCPNIOPublisher()
public TCPNIOPublisher(Actor facade, int port)
public IPromise<ActorServer> publish(Consumer<Actor> disconnectHandler)
publish in interface ActorPublisherpublic TCPNIOPublisher serType(SerializerType type)
public TCPNIOPublisher facade(Actor facade)
facade in interface ActorPublisherpublic TCPNIOPublisher port(int port)
public TCPNIOPublisher coding(Coding coding)
public Actor getFacade()
public int getPort()
public Coding getCoding()
Copyright © 2017. All rights reserved.