org.openejb.server.telnet
Class TelnetServer

java.lang.Object
  extended byorg.openejb.server.telnet.TelnetServer
All Implemented Interfaces:
org.activeio.xnet.ServerService, org.activeio.xnet.SocketService

public class TelnetServer
extends Object
implements org.activeio.xnet.ServerService


Constructor Summary
TelnetServer()
           
 
Method Summary
 String getIP()
           
 String getName()
           
 int getPort()
           
 void init(Properties props)
           
 void service(Socket socket)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TelnetServer

public TelnetServer()
Method Detail

init

public void init(Properties props)
          throws Exception
Specified by:
init in interface org.activeio.xnet.ServerService
Throws:
Exception

service

public void service(Socket socket)
             throws org.activeio.xnet.ServiceException,
                    IOException
Specified by:
service in interface org.activeio.xnet.SocketService
Throws:
org.activeio.xnet.ServiceException
IOException

start

public void start()
           throws org.activeio.xnet.ServiceException
Specified by:
start in interface org.activeio.xnet.ServerService
Throws:
org.activeio.xnet.ServiceException

stop

public void stop()
          throws org.activeio.xnet.ServiceException
Specified by:
stop in interface org.activeio.xnet.ServerService
Throws:
org.activeio.xnet.ServiceException

getName

public String getName()
Specified by:
getName in interface org.activeio.xnet.SocketService

getPort

public int getPort()
Specified by:
getPort in interface org.activeio.xnet.ServerService

getIP

public String getIP()
Specified by:
getIP in interface org.activeio.xnet.ServerService


Copyright © 1999-2006 OpenEJB. All Rights Reserved.