org.apache.openejb.server.telnet
Class TelnetServer

java.lang.Object
  extended by org.apache.openejb.server.telnet.TelnetServer
All Implemented Interfaces:
org.apache.openejb.server.ServerService, org.apache.openejb.spi.Service

public class TelnetServer
extends java.lang.Object
implements org.apache.openejb.server.ServerService


Constructor Summary
TelnetServer()
           
 
Method Summary
 java.lang.String getIP()
           
 java.lang.String getName()
           
 int getPort()
           
 void init(java.util.Properties props)
           
 void service(java.io.InputStream in, java.io.OutputStream out)
           
 void service(java.net.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(java.util.Properties props)
          throws java.lang.Exception
Specified by:
init in interface org.apache.openejb.spi.Service
Throws:
java.lang.Exception

service

public void service(java.net.Socket socket)
             throws org.apache.openejb.server.ServiceException,
                    java.io.IOException
Specified by:
service in interface org.apache.openejb.server.ServerService
Throws:
org.apache.openejb.server.ServiceException
java.io.IOException

service

public void service(java.io.InputStream in,
                    java.io.OutputStream out)
             throws org.apache.openejb.server.ServiceException,
                    java.io.IOException
Specified by:
service in interface org.apache.openejb.server.ServerService
Throws:
org.apache.openejb.server.ServiceException
java.io.IOException

start

public void start()
           throws org.apache.openejb.server.ServiceException
Specified by:
start in interface org.apache.openejb.server.ServerService
Throws:
org.apache.openejb.server.ServiceException

stop

public void stop()
          throws org.apache.openejb.server.ServiceException
Specified by:
stop in interface org.apache.openejb.server.ServerService
Throws:
org.apache.openejb.server.ServiceException

getName

public java.lang.String getName()
Specified by:
getName in interface org.apache.openejb.server.ServerService

getPort

public int getPort()
Specified by:
getPort in interface org.apache.openejb.server.ServerService

getIP

public java.lang.String getIP()
Specified by:
getIP in interface org.apache.openejb.server.ServerService


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