Package net.messagevortex.asn1
Class HeaderRequestIncreaseMessageQuota
java.lang.Object
net.messagevortex.asn1.AbstractBlock
net.messagevortex.asn1.HeaderRequest
net.messagevortex.asn1.HeaderRequestIncreaseMessageQuota
- All Implemented Interfaces:
Serializable,Block,Dumpable
ASN1 parser for increasing message quota.
- See Also:
-
Field Summary
FieldsFields inherited from class net.messagevortex.asn1.AbstractBlock
CRLF -
Constructor Summary
ConstructorsConstructorDescriptionHeaderRequestIncreaseMessageQuota(org.bouncycastle.asn1.ASN1Encodable ae) Creates a request block from the ASN.1 structure. -
Method Summary
Modifier and TypeMethodDescriptiondumpValueNotation(String prefix, DumpType dumpType) intgetId()longgetQuota()protected HeaderRequestgetRequest(org.bouncycastle.asn1.ASN1Encodable ae) org.bouncycastle.asn1.ASN1ObjectintToAsn1Object(DumpType dumpType) protected final voidparse(org.bouncycastle.asn1.ASN1Encodable ae) longsetQuota(long newQuota) Sets the quota of the request.Methods inherited from class net.messagevortex.asn1.HeaderRequest
toAsn1ObjectMethods inherited from class net.messagevortex.asn1.AbstractBlock
fromBase64, fromHex, parse, prepareDump, toBase64, toBitString, toBytes, toDer, toHex
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
-
Constructor Details
-
HeaderRequestIncreaseMessageQuota
public HeaderRequestIncreaseMessageQuota() -
HeaderRequestIncreaseMessageQuota
public HeaderRequestIncreaseMessageQuota(org.bouncycastle.asn1.ASN1Encodable ae) Creates a request block from the ASN.1 structure.
- Parameters:
ae- the structure to be parsed
-
-
Method Details
-
parse
protected final void parse(org.bouncycastle.asn1.ASN1Encodable ae) - Specified by:
parsein classAbstractBlock
-
getRequest
- Specified by:
getRequestin classHeaderRequest- Throws:
IOException
-
getQuota
public long getQuota() -
setQuota
public long setQuota(long newQuota) Sets the quota of the request.
- Parameters:
newQuota- the new quota to be set- Returns:
- the previously set quota
-
getId
public int getId() -
dumpValueNotation
- Specified by:
dumpValueNotationin interfaceBlock
-
intToAsn1Object
- Throws:
IOException
-