Class LineConversation
- java.lang.Object
-
- org.opennms.netmgt.provision.server.exchange.LineConversation
-
public class LineConversation extends java.lang.Object
LineConversation class.
- Version:
- $Id: $
- Author:
- Donald Desloge
-
-
Constructor Summary
Constructors Constructor Description LineConversation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRequestHandler(java.lang.String request, java.lang.String response)
addRequestHandlerjava.lang.String
getBanner()
getBannerjava.lang.String
getExpectedClose()
getExpectedClosejava.lang.String
getExpectedCloseResponse()
getExpectedCloseResponsejava.lang.String
getResponse(java.lang.String request)
getResponseboolean
hasBanner()
hasBannervoid
setBanner(java.lang.String banner)
setBannervoid
setExpectedClose(java.lang.String closeRequest)
setExpectedClosevoid
setExpectedClose(java.lang.String closeRequest, java.lang.String closeResponse)
setExpectedClose
-
-
-
Method Detail
-
setBanner
public void setBanner(java.lang.String banner)
setBanner
- Parameters:
banner
- aString
object.
-
getBanner
public java.lang.String getBanner()
getBanner
- Returns:
- a
String
object.
-
setExpectedClose
public void setExpectedClose(java.lang.String closeRequest)
setExpectedClose
- Parameters:
closeRequest
- aString
object.
-
setExpectedClose
public void setExpectedClose(java.lang.String closeRequest, java.lang.String closeResponse)
setExpectedClose
- Parameters:
closeRequest
- aString
object.closeResponse
- aString
object.
-
getExpectedClose
public java.lang.String getExpectedClose()
getExpectedClose
- Returns:
- a
String
object.
-
getExpectedCloseResponse
public java.lang.String getExpectedCloseResponse()
getExpectedCloseResponse
- Returns:
- a
String
object.
-
addRequestHandler
public void addRequestHandler(java.lang.String request, java.lang.String response)
addRequestHandler
- Parameters:
request
- aString
object.response
- aString
object.
-
getResponse
public java.lang.String getResponse(java.lang.String request)
getResponse
- Parameters:
request
- aString
object.- Returns:
- a
String
object.
-
hasBanner
public boolean hasBanner()
hasBanner
- Returns:
- a boolean.
-
-