org.msgpack.rpc
Class SessionPool
java.lang.Object
org.msgpack.rpc.SessionPool
- All Implemented Interfaces:
- java.io.Closeable
- Direct Known Subclasses:
- Server
public class SessionPool
- extends java.lang.Object
- implements java.io.Closeable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionPool
public SessionPool()
SessionPool
public SessionPool(ClientConfig config)
SessionPool
public SessionPool(EventLoop loop)
SessionPool
public SessionPool(ClientConfig config,
EventLoop loop)
getEventLoop
public EventLoop getEventLoop()
getSession
public Session getSession(java.lang.String host,
int port)
throws java.net.UnknownHostException
- Throws:
java.net.UnknownHostException
getSession
public Session getSession(java.net.InetSocketAddress address)
close
public void close()
- Specified by:
close
in interface java.io.Closeable
Copyright © 2010. All Rights Reserved.