public class TCPActorServer extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
TCPActorServer.ActorServerClientConnection |
| Modifier and Type | Field and Description |
|---|---|
protected List<TCPActorServer.ActorServerClientConnection> |
connections |
protected boolean |
terminated |
| Constructor and Description |
|---|
TCPActorServer(ActorProxy proxy,
int port) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isTerminated() |
static TCPActorServer |
Publish(Actor act,
int port) |
void |
setTerminated(boolean terminated) |
void |
start()
warning: consumes calling thread !!
|
protected List<TCPActorServer.ActorServerClientConnection> connections
protected volatile boolean terminated
public TCPActorServer(ActorProxy proxy, int port) throws IOException
IOExceptionpublic static TCPActorServer Publish(Actor act, int port) throws IOException
IOExceptionpublic boolean isTerminated()
public void setTerminated(boolean terminated)
public void start()
throws IOException
IOExceptionCopyright © 2014. All rights reserved.