|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UaClientListener
Listener for enabling certain callback and such for UaClient. Please note that this interface may change in the future.
| Method Summary | |
|---|---|
void |
onAfterCreateSessionChannel(UaClient client,
org.opcfoundation.ua.application.Session session)
Called during UaClient.connect, after the session has been created, but before it is activated. |
void |
onBeforePublishRequest(UaClient client,
org.opcfoundation.ua.core.PublishRequest publishRequest)
Called before sending the PublishRequest. |
boolean |
validatePublishResponse(UaClient client,
org.opcfoundation.ua.core.PublishResponse response)
Called before handling the PublishResponse. |
boolean |
validateRepublishResponse(UaClient client,
org.opcfoundation.ua.core.RepublishResponse response)
Called before handling the RepublishResponse. |
| Method Detail |
|---|
void onAfterCreateSessionChannel(UaClient client,
org.opcfoundation.ua.application.Session session)
throws ConnectException
client - the clientsession - the session from UaClient.getSession()
ConnectException - if the UaClient should disconnect
void onBeforePublishRequest(UaClient client,
org.opcfoundation.ua.core.PublishRequest publishRequest)
client - the clientpublishRequest - the PublishRequest
boolean validatePublishResponse(UaClient client,
org.opcfoundation.ua.core.PublishResponse response)
client - the clientresponse - the PublishResponse
boolean validateRepublishResponse(UaClient client,
org.opcfoundation.ua.core.RepublishResponse response)
RepublishResponse. In case you want to prevent the response
from being handled, return false.
client - the clientresponse - the RepublishResponse
RepublishResponse should not be handled.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||