public class Session extends Object implements SessionServiceSet
| Modifier and Type | Class and Description |
|---|---|
static interface |
Session.LifecycleListener |
| Constructor and Description |
|---|
Session(OpcUaServer server,
NodeId sessionId,
String sessionName,
Duration sessionTimeout,
long secureChannelId) |
public Session(OpcUaServer server, NodeId sessionId, String sessionName, Duration sessionTimeout, long secureChannelId)
public OpcUaServer getServer()
public long getSecureChannelId()
@Nullable public ByteString getClientCertificateBytes()
public void setSecureChannelId(long secureChannelId)
public void setIdentityObject(Object identityObject)
public void setClientCertificateBytes(ByteString clientCertificateBytes)
public ByteString getLastNonce()
public NodeId getSessionId()
public String getSessionName()
public AttributeServices getAttributeServices()
public AttributeHistoryServices getAttributeHistoryServices()
public MethodServices getMethodServices()
public MonitoredItemServices getMonitoredItemServices()
public NodeManagementServiceSet getNodeManagementServices()
public QueryServices getQueryServices()
public SubscriptionServices getSubscriptionServices()
public ViewServices getViewServices()
public SubscriptionManager getSubscriptionManager()
public void onCreateSession(ServiceRequest<CreateSessionRequest,CreateSessionResponse> req) throws UaException
onCreateSession in interface SessionServiceSetUaExceptionpublic void onActivateSession(ServiceRequest<ActivateSessionRequest,ActivateSessionResponse> req) throws UaException
onActivateSession in interface SessionServiceSetUaExceptionpublic void onCloseSession(ServiceRequest<CloseSessionRequest,CloseSessionResponse> serviceRequest) throws UaException
onCloseSession in interface SessionServiceSetUaExceptionpublic void onCancel(ServiceRequest<CancelRequest,CancelResponse> serviceRequest) throws UaException
onCancel in interface SessionServiceSetUaExceptionCopyright © 2018. All rights reserved.