org.apache.openejb.server.discovery
Class MultipointServer.Session

java.lang.Object
  extended by org.apache.openejb.server.discovery.MultipointServer.Session
Enclosing class:
MultipointServer

public class MultipointServer.Session
extends java.lang.Object


Field Summary
 boolean hangup
           
 
Constructor Summary
MultipointServer.Session(java.nio.channels.SocketChannel channel, java.net.InetSocketAddress address, java.net.URI uri)
           
 
Method Summary
 boolean drain()
           
 MultipointServer.Session ops(int ops)
           
 java.lang.String read()
           
 void setURI(java.net.URI uri)
           
 void state(int ops, org.apache.openejb.server.discovery.MultipointServer.State state)
           
 void tick()
           
 java.lang.String toString()
           
 void write(java.util.Collection<?> uris)
           
 void write(java.net.URI uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

hangup

public boolean hangup
Constructor Detail

MultipointServer.Session

public MultipointServer.Session(java.nio.channels.SocketChannel channel,
                                java.net.InetSocketAddress address,
                                java.net.URI uri)
                         throws java.nio.channels.ClosedChannelException
Throws:
java.nio.channels.ClosedChannelException
Method Detail

ops

public MultipointServer.Session ops(int ops)

state

public void state(int ops,
                  org.apache.openejb.server.discovery.MultipointServer.State state)

setURI

public void setURI(java.net.URI uri)

write

public void write(java.net.URI uri)
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(java.util.Collection<?> uris)
           throws java.io.IOException
Throws:
java.io.IOException

drain

public boolean drain()
              throws java.io.IOException
Throws:
java.io.IOException

read

public java.lang.String read()
                      throws java.io.IOException
Throws:
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

tick

public void tick()
          throws java.io.IOException
Throws:
java.io.IOException


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.