org.opcfoundation.ua.application
Class Session

java.lang.Object
  extended by org.opcfoundation.ua.application.Session

public class Session
extends Object

Session


Method Summary
 SessionChannel createSessionChannel(SecureChannel channel, Client client)
          Create new unactivated session channel.
 NodeId getAuthenticationToken()
          Getter for the field authenticationToken.
 Cert getClientCertificate()
          Getter for the field clientCertificate.
 ByteString getClientNonce()
          Getter for the field clientNonce.
 PrivKey getClientPrivateKey()
          Getter for the field clientPrivateKey.
 NodeId getDiagnosticsInfo()
          Getter for the field diagnosticsInfo.
 EndpointDescription getEndpoint()
          Getter for the field endpoint.
 UnsignedInteger getMaxRequestMessageSize()
          Getter for the field maxRequestMessageSize.
 String getName()
          Getter for the field name.
 Cert getServerCertificate()
          Getter for the field serverCertificate.
 byte[] getServerNonce()
          Getter for the field serverNonce.
 PrivKey getServerPrivateKey()
          Getter for the field serverPrivateKey.
 SignedSoftwareCertificate[] getServerSoftwareCertificates()
          Getter for the field serverSoftwareCertificates.
 NodeId getSessionId()
          Getter for the field sessionId.
 double getSessionTimeout()
          Getter for the field sessionTimeout.
 void setName(String name)
          Setter for the field name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createSessionChannel

public SessionChannel createSessionChannel(SecureChannel channel,
                                           Client client)
Create new unactivated session channel. Session Channel will be wrapped over secure channel.

Parameters:
channel - securechannel secure channel to wrap session channel over
client - the client
Returns:
session channel

getEndpoint

public EndpointDescription getEndpoint()

Getter for the field endpoint.

Returns:
a EndpointDescription object.

getServerNonce

public byte[] getServerNonce()

Getter for the field serverNonce.

Returns:
an array of byte.

getDiagnosticsInfo

public NodeId getDiagnosticsInfo()

Getter for the field diagnosticsInfo.

Returns:
a NodeId object.

getAuthenticationToken

public NodeId getAuthenticationToken()

Getter for the field authenticationToken.

Returns:
a NodeId object.

getSessionTimeout

public double getSessionTimeout()

Getter for the field sessionTimeout.

Returns:
a double.

getMaxRequestMessageSize

public UnsignedInteger getMaxRequestMessageSize()

Getter for the field maxRequestMessageSize.

Returns:
a UnsignedInteger object.

getServerSoftwareCertificates

public SignedSoftwareCertificate[] getServerSoftwareCertificates()

Getter for the field serverSoftwareCertificates.

Returns:
an array of SignedSoftwareCertificate objects.

getServerCertificate

public Cert getServerCertificate()

Getter for the field serverCertificate.

Returns:
a Cert object.

getName

public String getName()

Getter for the field name.

Returns:
a String object.

getSessionId

public NodeId getSessionId()

Getter for the field sessionId.

Returns:
a NodeId object.

setName

public void setName(String name)

Setter for the field name.

Parameters:
name - a String object.

getClientNonce

public ByteString getClientNonce()

Getter for the field clientNonce.

Returns:
an array of byte.

getClientCertificate

public Cert getClientCertificate()

Getter for the field clientCertificate.

Returns:
a Cert object.

getClientPrivateKey

public PrivKey getClientPrivateKey()

Getter for the field clientPrivateKey.

Returns:
a PrivKey object.

getServerPrivateKey

public PrivKey getServerPrivateKey()

Getter for the field serverPrivateKey.

Returns:
a PrivKey object.


Copyright © 2018. All rights reserved.