Class RequestResponseChannel
- java.lang.Object
-
- com.microsoft.azure.eventhubs.impl.RequestResponseChannel
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.microsoft.azure.eventhubs.impl.IOObject
IOObject.IOObjectState
-
-
Constructor Summary
Constructors Constructor Description RequestResponseChannel(String linkName, String path, org.apache.qpid.proton.engine.Session session, ScheduledExecutorService executor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close(OperationResult<Void,Exception> onGraceFullClose)
String
getId()
org.apache.qpid.proton.engine.Receiver
getReceiveLink()
org.apache.qpid.proton.engine.Sender
getSendLink()
IOObject.IOObjectState
getState()
void
open(OperationResult<Void,Exception> onOpen, OperationResult<Void,Exception> onClose)
void
request(org.apache.qpid.proton.message.Message message, OperationResult<org.apache.qpid.proton.message.Message,Exception> onResponse)
-
-
-
Constructor Detail
-
RequestResponseChannel
public RequestResponseChannel(String linkName, String path, org.apache.qpid.proton.engine.Session session, ScheduledExecutorService executor)
-
-
Method Detail
-
open
public void open(OperationResult<Void,Exception> onOpen, OperationResult<Void,Exception> onClose)
-
close
public void close(OperationResult<Void,Exception> onGraceFullClose)
-
getSendLink
public org.apache.qpid.proton.engine.Sender getSendLink()
-
getReceiveLink
public org.apache.qpid.proton.engine.Receiver getReceiveLink()
-
request
public void request(org.apache.qpid.proton.message.Message message, OperationResult<org.apache.qpid.proton.message.Message,Exception> onResponse)
-
getState
public IOObject.IOObjectState getState()
-
-