public class AgentChannelManager
extends org.agilewiki.jactor.lpc.JLPCActor
| Modifier and Type | Field and Description |
|---|---|
ConcurrentHashMap<String,Interpreter> |
interpreters |
protected HashMap<String,Server> |
localServers |
int |
maxPacketSize |
Node |
node |
| Constructor and Description |
|---|
AgentChannelManager() |
acceptEvent, acceptRequest, getActorType, getAncestor, getExceptionHandler, getFactory, getMailbox, getMailboxFactory, getMatch, getParent, hasDataItem, haveEvents, initialize, initialize, initialize, initialize, initialize, requirements, responseFrom, send, send, sendEvent, setExceptionHandler, setInitialBufferCapacitypublic Node node
public int maxPacketSize
public ConcurrentHashMap<String,Interpreter> interpreters
public void received(AgentChannel agentChannel)
public void sent(String address)
public long bytesRead()
public long bytesWritten()
public AgentChannel getAgentChannel(String address) throws Exception
Exceptionpublic void startKeepAlive(long readTimeout,
long keepaliveTimeout)
throws Exception
Exceptionpublic boolean subscribeServerNameNotifications(ServerNameListener serverNameListener) throws Exception
Exceptionpublic boolean unsubscribeServerNameNotifications(ServerNameListener serverNameListener)
public String agentChannelManagerAddress() throws Exception
Exceptionprotected void shipAgentEventToAll(AgentJid agent) throws Exception
Exceptionpublic org.agilewiki.jactor.lpc.JLPCActor unregisterServer(String name) throws Exception
Exceptionpublic boolean registerServer(String name, Server server) throws Exception
Exceptionpublic void addRemoteServerName(String address, String name) throws Exception
Exceptionpublic void removeRemoteServerName(String address, String name) throws Exception
Exceptionpublic void agentChannel(String address, org.agilewiki.jactor.RP rp) throws Exception
Exceptionpublic void agentChannel(InetSocketAddress inetSocketAddress, org.agilewiki.jactor.RP rp) throws Exception
Exceptionpublic void openServerSocket(InetSocketAddress inetSocketAddress) throws Exception
Exceptionpublic void acceptSocket(SocketChannel socketChannel) throws Exception
Exceptionpublic void setClientPort(AgentChannel agentChannel, int port) throws Exception
Exceptionpublic void close()
public void agentChannelClosed(AgentChannel agentChannel, org.agilewiki.jactor.RP rp) throws Exception
ExceptionCopyright © 2013. All Rights Reserved.