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 voidclose(OperationResult<Void,Exception> onGraceFullClose)StringgetId()org.apache.qpid.proton.engine.ReceivergetReceiveLink()org.apache.qpid.proton.engine.SendergetSendLink()IOObject.IOObjectStategetState()voidopen(OperationResult<Void,Exception> onOpen, OperationResult<Void,Exception> onClose)voidrequest(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()
-
-