Documentation ¶
Index ¶
- type BindBody
- type BindReceiver
- type BindReceiverResp
- type BindRespBody
- type BindTransceiver
- type BindTransceiverResp
- type BindTransmitter
- type BindTransmitterResp
- type Body
- type CancelSm
- type CancelSmBody
- type CancelSmResp
- type DataSm
- type DataSmBody
- type DataSmResp
- type DeliverSm
- type DeliverSmResp
- type EnquireLink
- type EnquireLinkResp
- type GenericNack
- type Header
- type OutBind
- type OutBindBody
- type Pdu
- type QuerySm
- type QuerySmBody
- type QuerySmResp
- type QuerySmRespBody
- type ReplaceSm
- type ReplaceSmResp
- type SmBody
- type SmRespBody
- type SubmitSm
- type SubmitSmResp
- type Tlv
- type Unbind
- type UnbindResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindReceiver ¶
func NewBindReceiver ¶
func NewBindReceiver(sequence uint32, body *BindBody) *BindReceiver
NewBindReceiver creates new BIND_RECEIVER operation
type BindReceiverResp ¶
type BindReceiverResp struct { Pdu Header *Header Body *BindRespBody Tlv []*Tlv }
func NewBindReceiverResp ¶
func NewBindReceiverResp(sequence uint32, status uint32, body *BindRespBody) *BindReceiverResp
NewBindReceiverResp creates new BIND_RECEIVER_RESP operation
type BindRespBody ¶
type BindTransceiver ¶
func NewBindTransceiver ¶
func NewBindTransceiver(sequence uint32, body *BindBody) *BindTransceiver
NewBindTransceiver creates new BIND_TRANSCEIVER operation
type BindTransceiverResp ¶
type BindTransceiverResp struct { Pdu Header *Header Body *BindRespBody Tlv []*Tlv }
func NewBindTransceiverResp ¶
func NewBindTransceiverResp(sequence uint32, status uint32, body *BindRespBody) *BindTransceiverResp
NewBindTransceiverResp creates new BIND_TRANSCEIVER_RESP operation
type BindTransmitter ¶
func NewBindTransmitter ¶
func NewBindTransmitter(sequence uint32, body *BindBody) *BindTransmitter
NewBindTransmitter creates new BIND_TRANSMITTER operation
type BindTransmitterResp ¶
type BindTransmitterResp struct { Pdu Header *Header Body *BindRespBody Tlv []*Tlv }
func NewBindTransmitterResp ¶
func NewBindTransmitterResp(sequence uint32, status uint32, body *BindRespBody) *BindTransmitterResp
NewBindTransmitterResp creates new BIND_TRANSMITTER_RESP operation
type CancelSm ¶
type CancelSm struct { Pdu Header *Header Body *CancelSmBody }
func NewCancelSm ¶
func NewCancelSm(sequence uint32, body *CancelSmBody) *CancelSm
NewCancelSm creates new CANCEL_SM operation
type CancelSmBody ¶
type CancelSmResp ¶
func NewNewCancelSm ¶
func NewNewCancelSm(sequence uint32, status uint32) *CancelSmResp
NewNewCancelSm creates new CANCEL_SM_RESP operation
type DataSm ¶
type DataSm struct { Header *Header Body *DataSmBody Tlv *[]Tlv }
type DataSmBody ¶
type DataSmResp ¶
type DataSmResp struct { Pdu Header *Header Body *SmRespBody Tlv *[]Tlv }
func NewDataSmResp ¶
func NewDataSmResp(sequence uint32, status uint32, body *SmRespBody, tlv *[]Tlv) *DataSmResp
NewDataSmResp creates new DATA_SM_RESP operation
type DeliverSmResp ¶
type DeliverSmResp struct { Pdu Header *Header Body *SmRespBody }
func NewDeliverSmResp ¶
func NewDeliverSmResp(sequence uint32, status uint32, body *SmRespBody) *DeliverSmResp
NewDataSmResp creates new DELIVER_SM_RESP operation
type EnquireLink ¶
func NewEnquireLink ¶
func NewEnquireLink(sequence uint32) *EnquireLink
NewEnquireLink creates new ENQUIRE_LINK operation
type EnquireLinkResp ¶
func NewEnquireLinkResp ¶
func NewEnquireLinkResp(sequence uint32) *EnquireLinkResp
NewEnquireLinkResp creates new ENQUIRE_LINK_RESP operation
type GenericNack ¶
func NewGenericNack ¶
func NewGenericNack(sequence uint32, status uint32) *GenericNack
NewGenericNack creates new GENERIC_NACK operation
type OutBind ¶
type OutBind struct { Pdu Header *Header Body *OutBindBody }
func NewOutBind ¶
func NewOutBind(sequence uint32, body *OutBindBody) *OutBind
NewOutBind creates new OUTBIND operation
type OutBindBody ¶
type QuerySm ¶
type QuerySm struct { Pdu Header *Header Body *QuerySmBody }
func NewQuerySm ¶
func NewQuerySm(sequence uint32, body *QuerySmBody) *QuerySm
NewQuerySm creates new QUERY_SM operation
type QuerySmBody ¶
type QuerySmResp ¶
type QuerySmResp struct { Pdu Header *Header Body *QuerySmRespBody }
func NewQuerySmResp ¶
func NewQuerySmResp(sequence uint32, status uint32, body *QuerySmRespBody) *QuerySmResp
NewQuerySmResp creates new QUERY_SM_RESP operation
type QuerySmRespBody ¶
type ReplaceSm ¶
func NewReplaceSm ¶
NewReplaceSm creates new REPLACE_SM operation
type ReplaceSmResp ¶
func NewReplaceSmResp ¶
func NewReplaceSmResp(sequence uint32, status uint32) *ReplaceSmResp
NewReplaceSmResp creates new REPLACE_SM_RESP operation
type SmBody ¶
type SmBody struct { ServiceType string SourceAddrTon uint32 SourceAddrNpi uint32 SourceAddr string DestAddrTon uint32 DestAddrNpi uint32 DestinationAddr string EsmClass uint32 ProtocolId uint32 PriorityFlag uint32 ScheduleDeliveryTime string ValidityPeriod string RegisteredDelivery uint32 ReplaceIfPresentFlag uint32 DataCoding uint32 SmDefaultMsgId uint32 SmLength uint32 ShortMessage string }
type SmRespBody ¶
type SmRespBody struct {
MessageId string
}
type SubmitSmResp ¶
type SubmitSmResp struct { Header *Header Body *SmRespBody }
func NewSubmitSmResp ¶
func NewSubmitSmResp(sequence uint32, status uint32, body *SmRespBody) *SubmitSmResp
NewSubmitSmResp creates new SUBMIT_SM_RESP operation
type UnbindResp ¶
func NewUnbindResp ¶
func NewUnbindResp(sequence uint32, status uint32) *UnbindResp
NewUnbindResp creates new UNBIND_RESP operation
Source Files ¶
- bind_body.go
- bind_receiver.go
- bind_receiver_resp.go
- bind_resp_body.go
- bind_transceiver.go
- bind_transceiver_resp.go
- bind_transmitter.go
- bind_transmitter_resp.go
- body.go
- cancel_sm.go
- cancel_sm_resp.go
- data_sm.go
- data_sm_resp.go
- deliver_sm.go
- deliver_sm_resp.go
- enquire_link.go
- enquire_link_resp.go
- generic_nack.go
- header.go
- out_bind.go
- pdu.go
- query_sm.go
- query_sm_resp.go
- replace_sm.go
- replace_sm_resp.go
- sm_body.go
- sm_resp_body.go
- submit_sm.go
- submit_sm_resp.go
- tlv.go
- unbind.go
- unbind_resp.go