Interface Exchange
-
- All Known Implementing Classes:
Conversation.ErrorExchange
,SimpleConversationEndPoint.SimpleExchange
,SimpleServer.ServerErrorExchange
public interface Exchange
Exchange interface.
- Version:
- $Id: $
- Author:
- ranger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
matchResponseByString(java.lang.String input)
matchResponseByStringboolean
processResponse(java.io.BufferedReader in)
processResponseboolean
sendRequest(java.io.OutputStream out)
sendRequest
-
-
-
Method Detail
-
sendRequest
boolean sendRequest(java.io.OutputStream out) throws java.io.IOException
sendRequest
- Parameters:
out
- aOutputStream
object.- Returns:
- a boolean.
- Throws:
java.io.IOException
- if any.
-
processResponse
boolean processResponse(java.io.BufferedReader in) throws java.io.IOException
processResponse
- Parameters:
in
- aBufferedReader
object.- Returns:
- a boolean.
- Throws:
java.io.IOException
- if any.
-
matchResponseByString
boolean matchResponseByString(java.lang.String input)
matchResponseByString
- Parameters:
input
- aString
object.- Returns:
- a boolean.
-
-