Class AbstractSimpleServer.BannerExchange
- java.lang.Object
-
- org.opennms.netmgt.provision.server.AbstractSimpleServer.BannerExchange
-
- All Implemented Interfaces:
AbstractSimpleServer.Exchange
- Enclosing class:
- AbstractSimpleServer
public static class AbstractSimpleServer.BannerExchange extends Object implements AbstractSimpleServer.Exchange
-
-
Constructor Summary
Constructors Constructor Description BannerExchange(String banner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
processRequest(BufferedReader in)
boolean
sendReply(OutputStream out)
-
-
-
Constructor Detail
-
BannerExchange
public BannerExchange(String banner)
-
-
Method Detail
-
processRequest
public boolean processRequest(BufferedReader in) throws IOException
- Specified by:
processRequest
in interfaceAbstractSimpleServer.Exchange
- Throws:
IOException
-
sendReply
public boolean sendReply(OutputStream out) throws IOException
- Specified by:
sendReply
in interfaceAbstractSimpleServer.Exchange
- Throws:
IOException
-
-