org.opennms.netmgt.provision.server
Class AbstractSimpleServer.BannerExchange

java.lang.Object
  extended by 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
AbstractSimpleServer.BannerExchange(String banner)
           
 
Method Summary
 boolean processRequest(BufferedReader in)
           
 boolean sendReply(OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSimpleServer.BannerExchange

public AbstractSimpleServer.BannerExchange(String banner)
Method Detail

processRequest

public boolean processRequest(BufferedReader in)
                       throws IOException
Specified by:
processRequest in interface AbstractSimpleServer.Exchange
Throws:
IOException

sendReply

public boolean sendReply(OutputStream out)
                  throws IOException
Specified by:
sendReply in interface AbstractSimpleServer.Exchange
Throws:
IOException


Copyright © 2011. All Rights Reserved.