public class SessionManager extends Object implements AttributeServiceSet, AttributeHistoryServiceSet, MethodServiceSet, MonitoredItemServiceSet, NodeManagementServiceSet, QueryServiceSet, SessionServiceSet, SubscriptionServiceSet, ViewServiceSet
public void killSession(NodeId nodeId, boolean deleteSubscriptions)
nodeId and optionally delete all its subscriptions.nodeId - the NodeId identifying the session to kill.deleteSubscriptions - true if all its subscriptions should be deleted as well.public void addSessionListener(SessionListener listener)
listener to be notified when sessions are created.listener - the SessionListener to add.public void removeSessionListener(SessionListener listener)
listener from the SessionListener list.listener - the SessionListener to remove.public List<Session> getAllSessions()
Sessions. This includes sessions that have been created but not yet
activated.Sessions.public UInteger getCurrentSessionCount()
public void onCreateSession(ServiceRequest serviceRequest)
onCreateSession in interface SessionServiceSetpublic void onActivateSession(ServiceRequest serviceRequest)
onActivateSession in interface SessionServiceSetpublic void onCloseSession(ServiceRequest service)
onCloseSession in interface SessionServiceSetpublic void onCancel(ServiceRequest service) throws UaException
onCancel in interface SessionServiceSetUaExceptionpublic void onRead(ServiceRequest service) throws UaException
onRead in interface AttributeServiceSetUaExceptionpublic void onWrite(ServiceRequest service) throws UaException
onWrite in interface AttributeServiceSetUaExceptionpublic void onHistoryRead(ServiceRequest service) throws UaException
onHistoryRead in interface AttributeHistoryServiceSetUaExceptionpublic void onHistoryUpdate(ServiceRequest service) throws UaException
onHistoryUpdate in interface AttributeHistoryServiceSetUaExceptionpublic void onBrowse(ServiceRequest service) throws UaException
onBrowse in interface ViewServiceSetUaExceptionpublic void onBrowseNext(ServiceRequest service) throws UaException
onBrowseNext in interface ViewServiceSetUaExceptionpublic void onTranslateBrowsePaths(ServiceRequest service) throws UaException
onTranslateBrowsePaths in interface ViewServiceSetUaExceptionpublic void onRegisterNodes(ServiceRequest service) throws UaException
onRegisterNodes in interface ViewServiceSetUaExceptionpublic void onUnregisterNodes(ServiceRequest service) throws UaException
onUnregisterNodes in interface ViewServiceSetUaExceptionpublic void onAddNodes(ServiceRequest service) throws UaException
onAddNodes in interface NodeManagementServiceSetUaExceptionpublic void onAddReferences(ServiceRequest service) throws UaException
onAddReferences in interface NodeManagementServiceSetUaExceptionpublic void onDeleteNodes(ServiceRequest service) throws UaException
onDeleteNodes in interface NodeManagementServiceSetUaExceptionpublic void onDeleteReferences(ServiceRequest service) throws UaException
onDeleteReferences in interface NodeManagementServiceSetUaExceptionpublic void onCreateSubscription(ServiceRequest service) throws UaException
onCreateSubscription in interface SubscriptionServiceSetUaExceptionpublic void onModifySubscription(ServiceRequest service) throws UaException
onModifySubscription in interface SubscriptionServiceSetUaExceptionpublic void onSetPublishingMode(ServiceRequest service) throws UaException
onSetPublishingMode in interface SubscriptionServiceSetUaExceptionpublic void onPublish(ServiceRequest service) throws UaException
onPublish in interface SubscriptionServiceSetUaExceptionpublic void onRepublish(ServiceRequest service) throws UaException
onRepublish in interface SubscriptionServiceSetUaExceptionpublic void onTransferSubscriptions(ServiceRequest service) throws UaException
onTransferSubscriptions in interface SubscriptionServiceSetUaExceptionpublic void onDeleteSubscriptions(ServiceRequest service) throws UaException
onDeleteSubscriptions in interface SubscriptionServiceSetUaExceptionpublic void onCreateMonitoredItems(ServiceRequest service) throws UaException
onCreateMonitoredItems in interface MonitoredItemServiceSetUaExceptionpublic void onModifyMonitoredItems(ServiceRequest service) throws UaException
onModifyMonitoredItems in interface MonitoredItemServiceSetUaExceptionpublic void onSetMonitoringMode(ServiceRequest service) throws UaException
onSetMonitoringMode in interface MonitoredItemServiceSetUaExceptionpublic void onSetTriggering(ServiceRequest service) throws UaException
onSetTriggering in interface MonitoredItemServiceSetUaExceptionpublic void onDeleteMonitoredItems(ServiceRequest service) throws UaException
onDeleteMonitoredItems in interface MonitoredItemServiceSetUaExceptionpublic void onCall(ServiceRequest service) throws UaException
onCall in interface MethodServiceSetUaExceptionpublic void onQueryFirst(ServiceRequest service) throws UaException
onQueryFirst in interface QueryServiceSetUaExceptionpublic void onQueryNext(ServiceRequest service) throws UaException
onQueryNext in interface QueryServiceSetUaExceptionCopyright © 2021. All rights reserved.