public interface EndpointOperationResultListener
EndpointAccessToken
; EndpointKeyHash
;SyncResponseResultType
and additional data if available.EndpointRegistrationManager
Modifier and Type | Method and Description |
---|---|
void |
sendResponse(String operation,
org.kaaproject.kaa.common.endpoint.gen.SyncResponseResultType result,
Object resultContext)
Callback on sending response to client
NOTE: resultContext is not null for endpoint attach
operation and contains EndpointKeyHash object with key hash of attached
endpoint. |
void sendResponse(String operation, org.kaaproject.kaa.common.endpoint.gen.SyncResponseResultType result, Object resultContext)
resultContext
is not null
for endpoint attach
operation and contains EndpointKeyHash
object with key hash of attached
endpoint.operation
- String representation of processed operation for this callbackresult
- Enum value [SUCCESS, FAILURE
]resultContext
- Additional data of operation result. May be null
.
For AttachEndpoint operation is populated with EndpointKeyHash
of attached endpoint.SyncResponseResultType
Copyright © 2015. All rights reserved.