|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.provision.server.exchange.Conversation
public class Conversation
Conversation class.
| Nested Class Summary | |
|---|---|
static class |
Conversation.ErrorExchange
|
| Constructor Summary | |
|---|---|
Conversation()
|
|
| Method Summary | |
|---|---|
void |
addErrorExchange(Exchange ex)
addErrorExchange |
void |
addExchange(Exchange exchange)
addExchange |
boolean |
attemptClientConversation(BufferedReader in,
OutputStream out)
attemptClientConversation |
void |
attemptServerConversation(BufferedReader in,
OutputStream out)
attemptServerConversation |
ResponseHandler |
contains(String response)
contains |
ResponseHandler |
regexpMatches(String response)
regexpMatches |
ResponseHandler |
startsWith(String response)
startsWith |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Conversation()
| Method Detail |
|---|
public void addExchange(Exchange exchange)
addExchange
exchange - a Exchange object.public void addErrorExchange(Exchange ex)
addErrorExchange
ex - a Exchange object.
public void attemptServerConversation(BufferedReader in,
OutputStream out)
throws Exception
attemptServerConversation
in - a BufferedReader object.out - a OutputStream object.
Exception - if any.
public boolean attemptClientConversation(BufferedReader in,
OutputStream out)
throws IOException
attemptClientConversation
in - a BufferedReader object.out - a OutputStream object.
IOException - if any.public ResponseHandler startsWith(String response)
startsWith
response - a String object.
ResponseHandler object.public ResponseHandler contains(String response)
contains
response - a String object.
ResponseHandler object.public ResponseHandler regexpMatches(String response)
regexpMatches
response - a String object.
ResponseHandler object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||