org.activeio.xnet
Class SyncChannelServerDaemon
java.lang.Object
org.activeio.xnet.SyncChannelServerDaemon
- All Implemented Interfaces:
- org.apache.geronimo.gbean.GBeanLifecycle, Runnable
- public class SyncChannelServerDaemon
- extends Object
- implements org.apache.geronimo.gbean.GBeanLifecycle, Runnable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SyncChannelServerDaemon
public SyncChannelServerDaemon(SocketService socketService,
InetAddress address,
int port)
SyncChannelServerDaemon
public SyncChannelServerDaemon(String name,
SocketService socketService,
InetAddress address,
int port)
doStart
public void doStart()
throws Exception
- Specified by:
doStart
in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
Exception
doStop
public void doStop()
- Specified by:
doStop
in interface org.apache.geronimo.gbean.GBeanLifecycle
doFail
public void doFail()
- Specified by:
doFail
in interface org.apache.geronimo.gbean.GBeanLifecycle
setSoTimeout
public void setSoTimeout(int timeout)
throws SocketException
- Throws:
SocketException
getSoTimeout
public int getSoTimeout()
throws IOException
- Throws:
IOException
getAddress
public InetAddress getAddress()
- Gets the inetAddress number that the
daemon is listening on.
getPort
public int getPort()
- Gets the port number that the
daemon is listening on.
run
public void run()
- Specified by:
run
in interface Runnable
stop
public void stop()
Copyright © -2007 The ActiveIO Project. All Rights Reserved.