|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openejb.server.admin.AdminDaemon
public class AdminDaemon
This is the base class for orcistrating the other daemons which actually accept and react to calls coming in from different protocols or channels. To perform this task, this class will newInstance() init( port, properties) start() stop()
| Constructor Summary | |
|---|---|
AdminDaemon()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getIP()
Gets the ip number that the daemon is listening on. |
java.lang.String |
getName()
Gets the name of the service. |
int |
getPort()
Gets the port number that the daemon is listening on. |
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 |
|---|
public AdminDaemon()
| Method Detail |
|---|
public void init(java.util.Properties props)
throws java.lang.Exception
init in interface ServerServiceinit in interface Servicejava.lang.Exception
public void service(java.io.InputStream in,
java.io.OutputStream out)
throws ServiceException,
java.io.IOException
service in interface ServerServiceServiceException
java.io.IOException
public void service(java.net.Socket socket)
throws ServiceException,
java.io.IOException
service in interface ServerServiceServiceException
java.io.IOException
public void start()
throws ServiceException
start in interface ServerServiceServiceException
public void stop()
throws ServiceException
stop in interface ServerServiceServiceExceptionpublic int getPort()
getPort in interface ServerServicepublic java.lang.String getIP()
ServerService
getIP in interface ServerServicepublic java.lang.String getName()
ServerService
getName in interface ServerService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||