Package org.serviceconnector.net.req
Interface IRequester
- All Known Implementing Classes:
Requester,SCRequester
public interface IRequester
The Interface IRequester abstracts requester functionality.
- Author:
- JTraber
-
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()Destroy.Gets the context.voidsend(SCMPMessage scmp, int timeoutMillis, ISCMPMessageCallback callback) Send and receive response asynchronous.
-
Method Details
-
send
Send and receive response asynchronous.- Parameters:
scmp- the scmptimeoutMillis- the timeout in secondscallback- the callback- Throws:
Exception- exception in sending/receiving process
-
destroy
void destroy()Destroy. -
getRemoteNodeConfiguration
RemoteNodeConfiguration getRemoteNodeConfiguration()Gets the context.- Returns:
- the context
-