org.openejb.server.telnet
Class TelnetServer
java.lang.Object
org.openejb.server.telnet.TelnetServer
- All Implemented Interfaces:
- ServerService, Service
public class TelnetServer
- extends Object
- implements ServerService
- Author:
- David Blevins
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TelnetServer
public TelnetServer()
init
public void init(Properties props)
throws Exception
- Specified by:
init
in interface ServerService
- Specified by:
init
in interface Service
- Throws:
Exception
service
public void service(InputStream in,
OutputStream out)
throws ServiceException,
IOException
- Specified by:
service
in interface ServerService
- Throws:
ServiceException
IOException
service
public void service(Socket socket)
throws ServiceException,
IOException
- Specified by:
service
in interface ServerService
- Throws:
ServiceException
IOException
start
public void start()
throws ServiceException
- Specified by:
start
in interface ServerService
- Throws:
ServiceException
stop
public void stop()
throws ServiceException
- Specified by:
stop
in interface ServerService
- Throws:
ServiceException
getName
public String getName()
- Description copied from interface:
ServerService
- Gets the name of the service.
Used for display purposes only
- Specified by:
getName
in interface ServerService
getPort
public int getPort()
- Description copied from interface:
ServerService
- Gets the port number that the
daemon is listening on.
- Specified by:
getPort
in interface ServerService
getIP
public String getIP()
- Description copied from interface:
ServerService
- Gets the ip number that the
daemon is listening on.
- Specified by:
getIP
in interface ServerService
Copyright © 1999-2008 OpenEJB. All Rights Reserved.