AmqpConnectionHandler 类

定义

public class AmqpConnectionHandler extends ErrorLoggingBaseHandlerWithCleanup
继承
java.lang.Object
BaseHandler
AmqpConnectionHandler

继承成员

构造函数

AmqpConnectionHandler(String hostName, String userName, String sasToken, IotHubServiceClientProtocol iotHubServiceClientProtocol, ProxyOptions proxyOptions)

字段

AMQPS_PORT
AMQPS_WS_PORT
connectionOpenedRemotely
hostName
iotHubServiceClientProtocol
linkOpenedRemotely
proxyOptions
sasToken
savedException
sessionOpenedRemotely
userName
WEBSOCKET_PATH
WEBSOCKET_SUB_PROTOCOL

方法

onConnectionBound(Event event)

Event handler for the connection bound event

onConnectionRemoteOpen(Event event)
onLinkRemoteOpen(Event event)
onReactorInit(Event event)
onSessionRemoteOpen(Event event)
verifyConnectionWasOpened()

If an exception was encountered while opening the AMQP connection, this function shall throw that saved exception

适用于