Class ConversationExchangeDefaultImpl<Request,RespType>
- java.lang.Object
-
- org.opennms.netmgt.provision.support.ConversationExchangeDefaultImpl<Request,RespType>
-
- All Implemented Interfaces:
ConversationExchange<Request,RespType>
,RequestBuilder<Request>
,ResponseValidator<RespType>
public class ConversationExchangeDefaultImpl<Request,RespType> extends java.lang.Object implements ConversationExchange<Request,RespType>
-
-
Constructor Summary
Constructors Constructor Description ConversationExchangeDefaultImpl(RequestBuilder<Request> reqBuilder, ResponseValidator<RespType> respValidator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Request
getRequest()
java.lang.String
toString()
boolean
validate(RespType response)
-
-
-
Constructor Detail
-
ConversationExchangeDefaultImpl
public ConversationExchangeDefaultImpl(RequestBuilder<Request> reqBuilder, ResponseValidator<RespType> respValidator)
-
-
Method Detail
-
getRequest
public Request getRequest()
- Specified by:
getRequest
in interfaceRequestBuilder<Request>
-
validate
public boolean validate(RespType response)
- Specified by:
validate
in interfaceResponseValidator<Request>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-