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

java.lang.Object
  extended by org.opennms.netmgt.provision.server.AbstractSimpleServer.SimpleServerExchange
All Implemented Interfaces:
AbstractSimpleServer.Exchange
Enclosing class:
AbstractSimpleServer

public static class AbstractSimpleServer.SimpleServerExchange
extends Object
implements AbstractSimpleServer.Exchange


Constructor Summary
AbstractSimpleServer.SimpleServerExchange(AbstractSimpleServer.RequestMatcher requestMatcher, String response)
           
 
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.SimpleServerExchange

public AbstractSimpleServer.SimpleServerExchange(AbstractSimpleServer.RequestMatcher requestMatcher,
                                                 String response)
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.