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 Object


Field Summary
 boolean hangup
           
 
Constructor Summary
MultipointServer.Session(SocketChannel channel, InetSocketAddress address, URI uri)
           
 
Method Summary
 boolean drain()
           
 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)
           
 
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(SocketChannel channel,
                                InetSocketAddress address,
                                URI uri)
                         throws ClosedChannelException
Throws:
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(URI uri)

write

public void write(URI uri)
           throws IOException
Throws:
IOException

write

public void write(Collection<?> uris)
           throws IOException
Throws:
IOException

drain

public boolean drain()
              throws IOException
Throws:
IOException

read

public String read()
            throws IOException
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object

tick

public void tick()
          throws IOException
Throws:
IOException


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