package
0.0.16
Repository: https://github.com/oarkflow/protocol.git
Documentation: pkg.go.dev

# Packages

Package pdufield provides PDU field codecs and utilities.
Package pdutext provides text conversion for PDU fields.
No description provided by the author

# Functions

Decode decodes binary PDU data.
DecodeHeader decodes binary PDU header data.
NewBindReceiver creates a new Bind PDU.
NewBindReceiverResp creates and initializes a new BindResp PDU.
NewBindReceiverRespSeq creates and initializes a new BindResp PDU for a specific seq.
NewBindTransceiver creates a new Bind PDU.
NewBindTransceiverResp creates and initializes a new BindResp PDU.
NewBindTransceiverRespSeq creates and initializes a new BindResp PDU for a specific seq.
NewBindTransmitter creates a new Bind PDU.
NewBindTransmitterResp creates and initializes a new BindResp PDU.
NewBindTransmitterRespSeq creates and initializes a new BindResp PDU for a specific seq.
NewCancelSM creates and initializes a new CancelSM PDU.
No description provided by the author
NewDataSM creates and initializes a new DataSM PDU.
NewDataSMResp creates and initializes a new NewDataSMResp PDU.
NewDeliverSM creates and initializes a new DeliverSM PDU.
NewDeliverSMResp creates and initializes a new DeliverSMResp PDU.
NewDeliverSMRespSeq creates and initializes a new DeliverSMResp PDU for a specific seq.
NewEnquireLink creates and initializes a EnquireLink PDU.
NewEnquireLinkResp creates and initializes a EnquireLinkResp PDU.
NewEnquireLinkRespSeq creates and initializes a EnquireLinkResp PDU for a specific seq.
NewGenericNACK creates and initializes a GenericNACK PDU.
NewGenericNACKSeq creates and initializes a new GenericNACK PDU for a specific seq.
NewQuerySM creates and initializes a new QuerySM PDU.
NewQuerySMResp creates and initializes a new QuerySMResp PDU.
NewQuerySMRespSeq creates and initializes a new QuerySMResp PDU for a specific seq.
No description provided by the author
NewSubmitMulti creates and initializes a new SubmitMulti PDU.
NewSubmitMultiResp creates and initializes a new SubmitMultiResp PDU.
NewSubmitMultiRespSeq creates and initializes a new SubmitMultiResp PDU for a specific seq.
NewSubmitSM creates and initializes a new SubmitSM PDU.
NewSubmitSMResp creates and initializes a new SubmitSMResp PDU.
NewSubmitSMRespSeq creates and initializes a new SubmitSMResp PDU for a specific seq.
NewUnbind creates and initializes a Unbind PDU.
NewUnbindResp creates and initializes a UnbindResp PDU.

# Constants

PDU Types.
PDU Types.
PDU Types.
PDU Types.
PDU Types.
PDU Types.
PDU Types.
PDU Types.
PDU Types.
PDU Types.
PDU Types.
PDU Types.
PDU Types.
PDU Types.
PDU Types.
ESME Already in Bound State.
Bind Failed.
Cancel SM Failed.
Cannot Submit to Distribution List.
Delivery Failure (data_sm_resp).
Incorrect BIND Status for given command.
Invalid Command ID.
Command Length is invalid.
Destination flag (submit_multi).
Predefined Message Invalid or Not Found.
Invalid Distribution List name.
Invalid Dest Addr.
Invalid Destination address NPI.
Invalid Destination address TON.
Invalid esm_SUBMIT field data.
Invalid message (Expiry time).
Message ID is invalid.
Message Length is invalid.
Invalid number of destinations.
Invalid number of messages.
Invalid Optional Parameter Value.
Error in the optional part of the PDU Body.
Invalid Parameter Length.
Invalid Password.
Invalid Priority Flag.
Invalid Registered Delivery Flag.
Invalid replace_if_present flag.
Invalid Scheduled Delivery Time.
Invalid Service Type.
Invalid Source Address.
Invalid Source address NPI.
Invalid Source address TON.
Invalid ‘submit with replace’ request (i.e.
Invalid System ID.
Invalid system_type field.
Expected Optional Parameter missing.
Message Queue Full.
No Error.
Optional Parameter not allowed.
query_sm request failed.
Replace SM Failed.
submit_sm or submit_multi failed.
System Error.
Throttling error (ESME has exceeded allowed message limits).
Unknown Error.
ESME Receiver Permanent App Error Code.
ESME Receiver Reject Message Error Code.
ESME Receiver Temporary App Error Code.
PDU Types.
HeaderLen is the PDU header length.
MaxSize is the maximum size allowed for a PDU.
PDU Types.
PDU Types.
PDU Types.
PDU Types.
PDU Types.
PDU Types.
PDU Types.
PDU Types.
PDU Types.
PDU Types.
PDU Types.

# Structs

AlertNotification PDU.
Bind PDU.
BindResp PDU.
CancelSM PDU.
CancelSMResp PDU.
DataSM PDU.
DataSMResp PDU.
DeliverSM PDU.
DeliverSMResp PDU.
EnquireLink PDU.
EnquireLinkResp PDU.
GenericNACK PDU.
Header is a PDU header.
Outbind PDU.
QuerySM PDU.
QuerySMResp PDU.
ReplaceSM PDU.
ReplaceSMResp PDU.
SubmitMulti PDU.
SubmitMultiResp PDU.
SubmitSM PDU.
SubmitSMResp PDU.
Unbind PDU.
UnbindResp PDU.

# Interfaces

Body is an abstract Protocol Data Unit (PDU) interface for manipulating PDUs.

# Type aliases

No description provided by the author
No description provided by the author