org.opennms.netmgt.provision.server
Class SimpleServer.ServerErrorExchange

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

public static class SimpleServer.ServerErrorExchange
extends Object
implements Exchange


Field Summary
protected  RequestHandler m_errorRequest
           
 
Constructor Summary
SimpleServer.ServerErrorExchange(RequestHandler requestHandler)
           
 
Method Summary
 boolean matchResponseByString(String response)
           
 boolean processResponse(BufferedReader in)
           
 boolean sendRequest(OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_errorRequest

protected RequestHandler m_errorRequest
Constructor Detail

SimpleServer.ServerErrorExchange

public SimpleServer.ServerErrorExchange(RequestHandler requestHandler)
Method Detail

matchResponseByString

public boolean matchResponseByString(String response)
Specified by:
matchResponseByString in interface Exchange

processResponse

public boolean processResponse(BufferedReader in)
                        throws IOException
Specified by:
processResponse in interface Exchange
Throws:
IOException

sendRequest

public boolean sendRequest(OutputStream out)
                    throws IOException
Specified by:
sendRequest in interface Exchange
Throws:
IOException


Copyright © 2009. All Rights Reserved.