Class Conversation.ErrorExchange
- java.lang.Object
-
- org.opennms.netmgt.provision.server.exchange.Conversation.ErrorExchange
-
- All Implemented Interfaces:
Exchange
- Enclosing class:
- Conversation
public static class Conversation.ErrorExchange extends java.lang.Object implements Exchange
-
-
Constructor Summary
Constructors Constructor Description ErrorExchange()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matchResponseByString(java.lang.String response)
matchResponseByStringboolean
processResponse(java.io.BufferedReader in)
processResponseboolean
sendRequest(java.io.OutputStream out)
sendRequest
-
-
-
Method Detail
-
matchResponseByString
public boolean matchResponseByString(java.lang.String response)
Description copied from interface:Exchange
matchResponseByString
- Specified by:
matchResponseByString
in interfaceExchange
- Parameters:
response
- aString
object.- Returns:
- a boolean.
-
processResponse
public boolean processResponse(java.io.BufferedReader in) throws java.io.IOException
Description copied from interface:Exchange
processResponse
- Specified by:
processResponse
in interfaceExchange
- Parameters:
in
- aBufferedReader
object.- Returns:
- a boolean.
- Throws:
java.io.IOException
- if any.
-
sendRequest
public boolean sendRequest(java.io.OutputStream out) throws java.io.IOException
Description copied from interface:Exchange
sendRequest
- Specified by:
sendRequest
in interfaceExchange
- Parameters:
out
- aOutputStream
object.- Returns:
- a boolean.
- Throws:
java.io.IOException
- if any.
-
-