org.opennms.netmgt.provision.server.exchange
Class Conversation
java.lang.Object
org.opennms.netmgt.provision.server.exchange.Conversation
- Direct Known Subclasses:
- ServerConversation
public class Conversation
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Conversation
public Conversation()
addExchange
public void addExchange(Exchange exchange)
addErrorExchange
public void addErrorExchange(Exchange ex)
attemptServerConversation
public void attemptServerConversation(BufferedReader in,
OutputStream out)
throws Exception
- Throws:
Exception
attemptClientConversation
public boolean attemptClientConversation(BufferedReader in,
OutputStream out)
throws IOException
- Throws:
IOException
startsWith
public ResponseHandler startsWith(String response)
contains
public ResponseHandler contains(String response)
regexpMatches
public ResponseHandler regexpMatches(String response)
Copyright © 2009. All Rights Reserved.