public class BrokerServer extends Object implements ServerService, SelfManaging
| Constructor and Description |
|---|
BrokerServer() |
| Modifier and Type | Method and Description |
|---|---|
String |
getIP() |
String |
getName() |
int |
getPort() |
void |
init(Properties properties) |
void |
service(InputStream inputStream,
OutputStream outputStream) |
void |
service(Socket socket) |
void |
start() |
void |
stop() |
public void init(Properties properties) throws Exception
init in interface org.apache.openejb.spi.ServiceExceptionpublic void start()
throws ServiceException
start in interface ServerServiceServiceExceptionpublic void stop()
throws ServiceException
stop in interface ServerServiceServiceExceptionpublic void service(InputStream inputStream, OutputStream outputStream) throws ServiceException, IOException
service in interface ServerServiceServiceExceptionIOExceptionpublic void service(Socket socket) throws ServiceException, IOException
service in interface ServerServiceServiceExceptionIOExceptionpublic String getName()
getName in interface ServerServicepublic String getIP()
getIP in interface ServerServicepublic int getPort()
getPort in interface ServerServiceCopyright © 1999–2017 The Apache Software Foundation. All rights reserved.