Class SecurityHeader
- java.lang.Object
-
- org.apache.plc4x.java.opcua.readwrite.SecurityHeader
-
- All Implemented Interfaces:
Message,Serializable
public class SecurityHeader extends Object implements Message
-
-
Field Summary
Fields Modifier and Type Field Description protected longsecureChannelIdprotected longsecureTokenId
-
Constructor Summary
Constructors Constructor Description SecurityHeader(long secureChannelId, long secureTokenId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)intgetLengthInBits()intgetLengthInBytes()longgetSecureChannelId()longgetSecureTokenId()inthashCode()voidserialize(WriteBuffer writeBuffer)static SecurityHeaderstaticParse(ReadBuffer readBuffer)static SecurityHeaderstaticParse(ReadBuffer readBuffer, Object... args)StringtoString()
-
-
-
Method Detail
-
getSecureChannelId
public long getSecureChannelId()
-
getSecureTokenId
public long getSecureTokenId()
-
serialize
public void serialize(WriteBuffer writeBuffer) throws SerializationException
- Specified by:
serializein interfaceSerializable- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()
- Specified by:
getLengthInBytesin interfaceMessage
-
getLengthInBits
public int getLengthInBits()
- Specified by:
getLengthInBitsin interfaceMessage
-
staticParse
public static SecurityHeader staticParse(ReadBuffer readBuffer, Object... args) throws ParseException
- Throws:
ParseException
-
staticParse
public static SecurityHeader staticParse(ReadBuffer readBuffer) throws ParseException
- Throws:
ParseException
-
-