public final class IotHubCallbackPacket extends Object
| Modifier and Type | Field and Description |
|---|---|
protected IotHubEventCallback |
callback |
protected Object |
callbackContext |
protected IotHubStatusCode |
status |
| Constructor and Description |
|---|
IotHubCallbackPacket(IotHubStatusCode status,
IotHubEventCallback callback,
Object callbackContext)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IotHubEventCallback |
getCallback()
Getter for the callback to be invoked for the completed request.
|
Object |
getContext()
Getter for the context to be passed in to the callback when it is
invoked.
|
IotHubStatusCode |
getStatus()
Getter for the response status code.
|
protected final IotHubStatusCode status
protected final IotHubEventCallback callback
protected final Object callbackContext
public IotHubCallbackPacket(IotHubStatusCode status, IotHubEventCallback callback, Object callbackContext)
status - the response status code.callback - the callback to be invoked for the completed request.callbackContext - the context to be passed in to the callback.public IotHubStatusCode getStatus()
public IotHubEventCallback getCallback()
public Object getContext()
Copyright © 2017. All rights reserved.