org.apache.openejb.server.derbynet
Class DerbyNetworkService

java.lang.Object
  extended by org.apache.openejb.server.derbynet.DerbyNetworkService
All Implemented Interfaces:
SelfManaging, ServerService, Service

public class DerbyNetworkService
extends Object
implements ServerService, SelfManaging

Version:
$Rev: 605052 $ $Date: 2007-12-18 01:24:24 +0100 (Di, 18. Dez 2007) $

Constructor Summary
DerbyNetworkService()
           
 
Method Summary
 String getIP()
           
 String getName()
           
 int getPort()
           
 void init(Properties properties)
           
 void service(InputStream inputStream, OutputStream outputStream)
           
 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

DerbyNetworkService

public DerbyNetworkService()
Method Detail

getIP

public String getIP()
Specified by:
getIP in interface ServerService

getName

public String getName()
Specified by:
getName in interface ServerService

getPort

public int getPort()
Specified by:
getPort in interface ServerService

init

public void init(Properties properties)
          throws Exception
Specified by:
init in interface Service
Throws:
Exception

service

public void service(InputStream inputStream,
                    OutputStream outputStream)
             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


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