public class MultipointServer.Session extends Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
hangup |
| Constructor and Description |
|---|
MultipointServer.Session(SocketChannel channel,
InetSocketAddress address,
URI uri) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
drain() |
long |
getCreated() |
MultipointServer.Session |
ops(int ops) |
String |
read() |
void |
setURI(URI uri) |
void |
state(int ops,
org.apache.openejb.server.discovery.MultipointServer.State state) |
void |
tick() |
String |
toString() |
void |
write(Collection<?> uris) |
void |
write(URI uri) |
public MultipointServer.Session(SocketChannel channel, InetSocketAddress address, URI uri) throws ClosedChannelException
ClosedChannelExceptionpublic MultipointServer.Session ops(int ops)
public long getCreated()
public void state(int ops,
org.apache.openejb.server.discovery.MultipointServer.State state)
public void setURI(URI uri)
public void write(URI uri) throws IOException
IOExceptionpublic void write(Collection<?> uris) throws IOException
IOExceptionpublic boolean drain()
throws IOException
IOExceptionpublic String read() throws IOException
IOExceptionpublic void tick()
throws IOException
IOExceptionCopyright © 1999-2014 The Apache Software Foundation. All Rights Reserved.