org.opcfoundation.ua.core
Class CreateSessionResponse

java.lang.Object
  extended by org.opcfoundation.ua.utils.AbstractStructure
      extended by org.opcfoundation.ua.core.CreateSessionResponse
All Implemented Interfaces:
Cloneable, ServiceResponse, Structure, IEncodeable

public class CreateSessionResponse
extends AbstractStructure
implements ServiceResponse


Field Summary
protected  NodeId AuthenticationToken
           
static ExpandedNodeId BINARY
           
static ExpandedNodeId ID
           
protected  UnsignedInteger MaxRequestMessageSize
           
protected  ResponseHeader ResponseHeader
           
protected  Double RevisedSessionTimeout
           
protected  ByteString ServerCertificate
           
protected  EndpointDescription[] ServerEndpoints
           
protected  ByteString ServerNonce
           
protected  SignatureData ServerSignature
           
protected  SignedSoftwareCertificate[] ServerSoftwareCertificates
           
protected  NodeId SessionId
           
static ExpandedNodeId XML
           
 
Constructor Summary
CreateSessionResponse()
           
CreateSessionResponse(ResponseHeader ResponseHeader, NodeId SessionId, NodeId AuthenticationToken, Double RevisedSessionTimeout, ByteString ServerNonce, ByteString ServerCertificate, EndpointDescription[] ServerEndpoints, SignedSoftwareCertificate[] ServerSoftwareCertificates, SignatureData ServerSignature, UnsignedInteger MaxRequestMessageSize)
           
 
Method Summary
 CreateSessionResponse clone()
          Deep clone
 boolean equals(Object obj)
           
 NodeId getAuthenticationToken()
           
 ExpandedNodeId getBinaryEncodeId()
          getBinaryEncodeId.
 UnsignedInteger getMaxRequestMessageSize()
           
 ResponseHeader getResponseHeader()
          getResponseHeader.
 Double getRevisedSessionTimeout()
           
 ByteString getServerCertificate()
           
 EndpointDescription[] getServerEndpoints()
           
 ByteString getServerNonce()
           
 SignatureData getServerSignature()
           
 SignedSoftwareCertificate[] getServerSoftwareCertificates()
           
 NodeId getSessionId()
           
 ExpandedNodeId getTypeId()
          getTypeId.
 ExpandedNodeId getXmlEncodeId()
          getXmlEncodeId.
 int hashCode()
           
 void setAuthenticationToken(NodeId AuthenticationToken)
           
 void setMaxRequestMessageSize(UnsignedInteger MaxRequestMessageSize)
           
 void setResponseHeader(ResponseHeader ResponseHeader)
          setResponseHeader.
 void setRevisedSessionTimeout(Double RevisedSessionTimeout)
           
 void setServerCertificate(ByteString ServerCertificate)
           
 void setServerEndpoints(EndpointDescription[] ServerEndpoints)
           
 void setServerNonce(ByteString ServerNonce)
           
 void setServerSignature(SignatureData ServerSignature)
           
 void setServerSoftwareCertificates(SignedSoftwareCertificate[] ServerSoftwareCertificates)
           
 void setSessionId(NodeId SessionId)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ID

public static final ExpandedNodeId ID

BINARY

public static final ExpandedNodeId BINARY

XML

public static final ExpandedNodeId XML

ResponseHeader

protected ResponseHeader ResponseHeader

SessionId

protected NodeId SessionId

AuthenticationToken

protected NodeId AuthenticationToken

RevisedSessionTimeout

protected Double RevisedSessionTimeout

ServerNonce

protected ByteString ServerNonce

ServerCertificate

protected ByteString ServerCertificate

ServerEndpoints

protected EndpointDescription[] ServerEndpoints

ServerSoftwareCertificates

protected SignedSoftwareCertificate[] ServerSoftwareCertificates

ServerSignature

protected SignatureData ServerSignature

MaxRequestMessageSize

protected UnsignedInteger MaxRequestMessageSize
Constructor Detail

CreateSessionResponse

public CreateSessionResponse()

CreateSessionResponse

public CreateSessionResponse(ResponseHeader ResponseHeader,
                             NodeId SessionId,
                             NodeId AuthenticationToken,
                             Double RevisedSessionTimeout,
                             ByteString ServerNonce,
                             ByteString ServerCertificate,
                             EndpointDescription[] ServerEndpoints,
                             SignedSoftwareCertificate[] ServerSoftwareCertificates,
                             SignatureData ServerSignature,
                             UnsignedInteger MaxRequestMessageSize)
Method Detail

getResponseHeader

public ResponseHeader getResponseHeader()
Description copied from interface: ServiceResponse

getResponseHeader.

Specified by:
getResponseHeader in interface ServiceResponse
Returns:
a ResponseHeader object.

setResponseHeader

public void setResponseHeader(ResponseHeader ResponseHeader)
Description copied from interface: ServiceResponse

setResponseHeader.

Specified by:
setResponseHeader in interface ServiceResponse
Parameters:
ResponseHeader - a ResponseHeader object.

getSessionId

public NodeId getSessionId()

setSessionId

public void setSessionId(NodeId SessionId)

getAuthenticationToken

public NodeId getAuthenticationToken()

setAuthenticationToken

public void setAuthenticationToken(NodeId AuthenticationToken)

getRevisedSessionTimeout

public Double getRevisedSessionTimeout()

setRevisedSessionTimeout

public void setRevisedSessionTimeout(Double RevisedSessionTimeout)

getServerNonce

public ByteString getServerNonce()

setServerNonce

public void setServerNonce(ByteString ServerNonce)

getServerCertificate

public ByteString getServerCertificate()

setServerCertificate

public void setServerCertificate(ByteString ServerCertificate)

getServerEndpoints

public EndpointDescription[] getServerEndpoints()

setServerEndpoints

public void setServerEndpoints(EndpointDescription[] ServerEndpoints)

getServerSoftwareCertificates

public SignedSoftwareCertificate[] getServerSoftwareCertificates()

setServerSoftwareCertificates

public void setServerSoftwareCertificates(SignedSoftwareCertificate[] ServerSoftwareCertificates)

getServerSignature

public SignatureData getServerSignature()

setServerSignature

public void setServerSignature(SignatureData ServerSignature)

getMaxRequestMessageSize

public UnsignedInteger getMaxRequestMessageSize()

setMaxRequestMessageSize

public void setMaxRequestMessageSize(UnsignedInteger MaxRequestMessageSize)

clone

public CreateSessionResponse clone()
Deep clone

Specified by:
clone in interface Structure
Overrides:
clone in class AbstractStructure
Returns:
cloned CreateSessionResponse

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getTypeId

public ExpandedNodeId getTypeId()
Description copied from interface: Structure

getTypeId.

Specified by:
getTypeId in interface Structure
Returns:
a ExpandedNodeId object.

getXmlEncodeId

public ExpandedNodeId getXmlEncodeId()
Description copied from interface: Structure

getXmlEncodeId.

Specified by:
getXmlEncodeId in interface Structure
Returns:
a ExpandedNodeId object.

getBinaryEncodeId

public ExpandedNodeId getBinaryEncodeId()
Description copied from interface: Structure

getBinaryEncodeId.

Specified by:
getBinaryEncodeId in interface Structure
Returns:
a ExpandedNodeId object.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2018. All rights reserved.