public final class ProtocolDataUnitFactory extends Object
ProtocolDataUnit instances.| Constructor and Description |
|---|
ProtocolDataUnitFactory()
Default constructor to create a new, empty
ProtocolDataUnitFactory instance. |
| Modifier and Type | Method and Description |
|---|---|
ProtocolDataUnit |
create(boolean immediateFlag,
boolean finalFlag,
OperationCode operationCode,
String headerDigest,
String dataDigest)
This method creates a
ProtocolDataUnit instance, which is
initialized with the given settings, and returns it. |
ProtocolDataUnit |
create(String headerDigest,
String dataDigest)
This method creates a
ProtocolDataUnit instance, which
initializes only the digests to use, and returns it. |
public ProtocolDataUnitFactory()
ProtocolDataUnitFactory instance.public final ProtocolDataUnit create(String headerDigest, String dataDigest)
ProtocolDataUnit instance, which
initializes only the digests to use, and returns it.headerDigest - The name of the digest to use for the protection of the Basic
Header Segment.dataDigest - The name of the digest to use for the protection of the Data
Segment.ProtocolDataUnit instance.public final ProtocolDataUnit create(boolean immediateFlag, boolean finalFlag, OperationCode operationCode, String headerDigest, String dataDigest)
ProtocolDataUnit instance, which is
initialized with the given settings, and returns it.immediateFlag - Should this PDU send immediately?operationCode - The Operation Code of this PDU.finalFlag - Is this PDU the last one in a sequence?headerDigest - The name of the digest to use for the protection of the Basic
Header Segment.dataDigest - The name of the digest to use for the protection of the Data
Segment.ProtocolDataUnit instance.Copyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.