org.opcfoundation.ua.core
Class OpenSecureChannelRequest

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

public class OpenSecureChannelRequest
extends AbstractStructure
implements ServiceRequest


Field Summary
static ExpandedNodeId BINARY
           
protected  ByteString ClientNonce
           
protected  UnsignedInteger ClientProtocolVersion
           
static ExpandedNodeId ID
           
protected  UnsignedInteger RequestedLifetime
           
protected  RequestHeader RequestHeader
           
protected  SecurityTokenRequestType RequestType
           
protected  MessageSecurityMode SecurityMode
           
static ExpandedNodeId XML
           
 
Constructor Summary
OpenSecureChannelRequest()
           
OpenSecureChannelRequest(RequestHeader RequestHeader, UnsignedInteger ClientProtocolVersion, SecurityTokenRequestType RequestType, MessageSecurityMode SecurityMode, ByteString ClientNonce, UnsignedInteger RequestedLifetime)
           
 
Method Summary
 OpenSecureChannelRequest clone()
          Deep clone
 boolean equals(Object obj)
           
 ExpandedNodeId getBinaryEncodeId()
          getBinaryEncodeId.
 ByteString getClientNonce()
           
 UnsignedInteger getClientProtocolVersion()
           
 UnsignedInteger getRequestedLifetime()
           
 RequestHeader getRequestHeader()
          getRequestHeader.
 SecurityTokenRequestType getRequestType()
           
 MessageSecurityMode getSecurityMode()
           
 ExpandedNodeId getTypeId()
          getTypeId.
 ExpandedNodeId getXmlEncodeId()
          getXmlEncodeId.
 int hashCode()
           
 void setClientNonce(ByteString ClientNonce)
           
 void setClientProtocolVersion(UnsignedInteger ClientProtocolVersion)
           
 void setRequestedLifetime(UnsignedInteger RequestedLifetime)
           
 void setRequestHeader(RequestHeader RequestHeader)
          setRequestHeader.
 void setRequestType(SecurityTokenRequestType RequestType)
           
 void setSecurityMode(MessageSecurityMode SecurityMode)
           
 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

RequestHeader

protected RequestHeader RequestHeader

ClientProtocolVersion

protected UnsignedInteger ClientProtocolVersion

RequestType

protected SecurityTokenRequestType RequestType

SecurityMode

protected MessageSecurityMode SecurityMode

ClientNonce

protected ByteString ClientNonce

RequestedLifetime

protected UnsignedInteger RequestedLifetime
Constructor Detail

OpenSecureChannelRequest

public OpenSecureChannelRequest()

OpenSecureChannelRequest

public OpenSecureChannelRequest(RequestHeader RequestHeader,
                                UnsignedInteger ClientProtocolVersion,
                                SecurityTokenRequestType RequestType,
                                MessageSecurityMode SecurityMode,
                                ByteString ClientNonce,
                                UnsignedInteger RequestedLifetime)
Method Detail

getRequestHeader

public RequestHeader getRequestHeader()
Description copied from interface: ServiceRequest

getRequestHeader.

Specified by:
getRequestHeader in interface ServiceRequest
Returns:
a RequestHeader object.

setRequestHeader

public void setRequestHeader(RequestHeader RequestHeader)
Description copied from interface: ServiceRequest

setRequestHeader.

Specified by:
setRequestHeader in interface ServiceRequest
Parameters:
RequestHeader - a RequestHeader object.

getClientProtocolVersion

public UnsignedInteger getClientProtocolVersion()

setClientProtocolVersion

public void setClientProtocolVersion(UnsignedInteger ClientProtocolVersion)

getRequestType

public SecurityTokenRequestType getRequestType()

setRequestType

public void setRequestType(SecurityTokenRequestType RequestType)

getSecurityMode

public MessageSecurityMode getSecurityMode()

setSecurityMode

public void setSecurityMode(MessageSecurityMode SecurityMode)

getClientNonce

public ByteString getClientNonce()

setClientNonce

public void setClientNonce(ByteString ClientNonce)

getRequestedLifetime

public UnsignedInteger getRequestedLifetime()

setRequestedLifetime

public void setRequestedLifetime(UnsignedInteger RequestedLifetime)

clone

public OpenSecureChannelRequest clone()
Deep clone

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

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.