org.apache.openejb.server
Class ServiceDaemon.SocketMonitor

java.lang.Object
  extended by org.apache.openejb.server.ServiceDaemon.SocketMonitor
Enclosing class:
ServiceDaemon

public class ServiceDaemon.SocketMonitor
extends Object


Constructor Summary
ServiceDaemon.SocketMonitor()
           
 
Method Summary
 int getLocalPort()
           
 int getReceiveBufferSize()
           
 boolean getReuseAddress()
           
 int getSoTimeout()
           
 boolean isBound()
           
 boolean isClosed()
           
 void setPerformancePreferences(int connectionTime, int latency, int bandwidth)
           
 void setReceiveBufferSize(int size)
           
 void setReuseAddress(boolean on)
           
 void setSoTimeout(int timeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceDaemon.SocketMonitor

public ServiceDaemon.SocketMonitor()
Method Detail

getLocalPort

public int getLocalPort()

getReuseAddress

public boolean getReuseAddress()
                        throws SocketException
Throws:
SocketException

getSoTimeout

public int getSoTimeout()
                 throws IOException
Throws:
IOException

isClosed

public boolean isClosed()

isBound

public boolean isBound()

getReceiveBufferSize

public int getReceiveBufferSize()
                         throws SocketException
Throws:
SocketException

setReceiveBufferSize

public void setReceiveBufferSize(int size)
                          throws SocketException
Throws:
SocketException

setPerformancePreferences

public void setPerformancePreferences(int connectionTime,
                                      int latency,
                                      int bandwidth)

setReuseAddress

public void setReuseAddress(boolean on)
                     throws SocketException
Throws:
SocketException

setSoTimeout

public void setSoTimeout(int timeout)
                  throws SocketException
Throws:
SocketException


Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.