SYMBOL INDEX (1106 symbols across 107 files) FILE: connect.go type Dialer (line 19) | type Dialer type Auth (line 22) | type Auth struct type BindError (line 30) | type BindError struct method Error (line 34) | func (err BindError) Error() string { function newBindRequest (line 38) | func newBindRequest(s Auth, bindingType pdu.BindingType, addressRange pd... type Connector (line 48) | type Connector interface type connector (line 53) | type connector struct method GetBindType (line 60) | func (c *connector) GetBindType() pdu.BindingType { method Connect (line 64) | func (c *connector) Connect() (conn *Connection, err error) { function connect (line 69) | func connect(dialer Dialer, addr string, bindReq *pdu.BindRequest) (c *C... function TXConnector (line 114) | func TXConnector(dialer Dialer, auth Auth) Connector { function RXConnector (line 123) | func RXConnector(dialer Dialer, auth Auth, opts ...connectorOption) Conn... function TRXConnector (line 136) | func TRXConnector(dialer Dialer, auth Auth, opts ...connectorOption) Con... type connectorOption (line 148) | type connectorOption function WithAddressRange (line 150) | func WithAddressRange(addressRange pdu.AddressRange) connectorOption { FILE: connect_test.go constant smscAddr (line 18) | smscAddr = "127.0.0.1:2775" constant mess (line 19) | mess = "Thử nghiệm: chuẩn bị nế mễ" function nextAuth (line 22) | func nextAuth() Auth { function TestBindingSMSC (line 32) | func TestBindingSMSC(t *testing.T) { function TestBindingSMSC_Error (line 64) | func TestBindingSMSC_Error(t *testing.T) { function TestBindingType (line 85) | func TestBindingType(t *testing.T) { FILE: connection.go type Connection (line 12) | type Connection struct method Read (line 30) | func (c *Connection) Read(b []byte) (n int, err error) { method Write (line 38) | func (c *Connection) Write(b []byte) (n int, err error) { method WritePDU (line 44) | func (c *Connection) WritePDU(p pdu.PDU) (n int, err error) { method Close (line 53) | func (c *Connection) Close() error { method LocalAddr (line 58) | func (c *Connection) LocalAddr() net.Addr { method RemoteAddr (line 63) | func (c *Connection) RemoteAddr() net.Addr { method SetDeadline (line 89) | func (c *Connection) SetDeadline(t time.Time) error { method SetReadDeadline (line 96) | func (c *Connection) SetReadDeadline(t time.Time) error { method SetReadTimeout (line 101) | func (c *Connection) SetReadTimeout(t time.Duration) error { method SetWriteDeadline (line 110) | func (c *Connection) SetWriteDeadline(t time.Time) error { method SetWriteTimeout (line 115) | func (c *Connection) SetWriteTimeout(t time.Duration) error { function NewConnection (line 19) | func NewConnection(conn net.Conn) (c *Connection) { FILE: connection_test.go function TestConnection (line 11) | func TestConnection(t *testing.T) { FILE: data/7bit.go constant escapeSequence (line 27) | escapeSequence = 0x1B function ValidateGSM7String (line 73) | func ValidateGSM7String(text string) []rune { function ValidateGSM7Buffer (line 86) | func ValidateGSM7Buffer(buffer []byte) []byte { function GetEscapeChars (line 110) | func GetEscapeChars(runeText []rune) []rune { function IsEscapeChar (line 121) | func IsEscapeChar(c rune) bool { function GSM7 (line 130) | func GSM7(packed bool) encoding.Encoding { type gsm7Encoding (line 134) | type gsm7Encoding struct method NewDecoder (line 138) | func (g gsm7Encoding) NewDecoder() *encoding.Decoder { method NewEncoder (line 144) | func (g gsm7Encoding) NewEncoder() *encoding.Encoder { method String (line 150) | func (g gsm7Encoding) String() string { type gsm7Decoder (line 157) | type gsm7Decoder struct method Reset (line 161) | func (g *gsm7Decoder) Reset() { /* not needed */ } method Transform (line 225) | func (g *gsm7Decoder) Transform(dst, src []byte, atEOF bool) (nDst, nS... function unpack (line 163) | func unpack(src []byte, packed bool) (septets []byte) { type gsm7Encoder (line 265) | type gsm7Encoder struct method Reset (line 269) | func (g *gsm7Encoder) Reset() { method Transform (line 345) | func (g *gsm7Encoder) Transform(dst, src []byte, atEOF bool) (nDst, nS... function pack (line 273) | func pack(dst []byte, septets []byte) (nDst int) { FILE: data/7bit_test.go function TestGSM7EncodingString (line 96) | func TestGSM7EncodingString(t *testing.T) { function TestValidateGSM7String (line 113) | func TestValidateGSM7String(t *testing.T) { function TestValidateGSM7Buffer (line 122) | func TestValidateGSM7Buffer(t *testing.T) { function TestPackedEncoder (line 131) | func TestPackedEncoder(t *testing.T) { function TestUnpackedEncoder (line 144) | func TestUnpackedEncoder(t *testing.T) { function TestPackedDecoder (line 157) | func TestPackedDecoder(t *testing.T) { function TestUnpackedDecoder (line 170) | func TestUnpackedDecoder(t *testing.T) { function TestInvalidCharacter (line 183) | func TestInvalidCharacter(t *testing.T) { function TestInvalidByte (line 196) | func TestInvalidByte(t *testing.T) { FILE: data/codings.go constant GSM7BITCoding (line 11) | GSM7BITCoding byte = 0x00 constant ASCIICoding (line 13) | ASCIICoding byte = 0x01 constant BINARY8BIT1Coding (line 15) | BINARY8BIT1Coding byte = 0x02 constant LATIN1Coding (line 17) | LATIN1Coding byte = 0x03 constant BINARY8BIT2Coding (line 19) | BINARY8BIT2Coding byte = 0x04 constant CYRILLICCoding (line 21) | CYRILLICCoding byte = 0x06 constant HEBREWCoding (line 23) | HEBREWCoding byte = 0x07 constant UCS2Coding (line 25) | UCS2Coding byte = 0x08 type EncDec (line 29) | type EncDec interface type Encoding (line 35) | type Encoding interface function encode (line 40) | func encode(str string, encoder *encoding.Encoder) ([]byte, error) { function decode (line 44) | func decode(data []byte, decoder *encoding.Decoder) (st string, err erro... type CustomEncoding (line 53) | type CustomEncoding struct method Encode (line 67) | func (c *CustomEncoding) Encode(str string) ([]byte, error) { method Decode (line 72) | func (c *CustomEncoding) Decode(data []byte) (string, error) { method DataCoding (line 77) | func (c *CustomEncoding) DataCoding() byte { function NewCustomEncoding (line 59) | func NewCustomEncoding(coding byte, encDec EncDec) Encoding { type gsm7bit (line 81) | type gsm7bit struct method Encode (line 85) | func (c *gsm7bit) Encode(str string) ([]byte, error) { method Decode (line 89) | func (c *gsm7bit) Decode(data []byte) (string, error) { method DataCoding (line 93) | func (c *gsm7bit) DataCoding() byte { return GSM7BITCoding } method ShouldSplit (line 95) | func (c *gsm7bit) ShouldSplit(text string, octetLimit uint) (shouldSpl... method EncodeSplit (line 103) | func (c *gsm7bit) EncodeSplit(text string, octetLimit uint) (allSeg []... type gsm7bitPacked (line 127) | type gsm7bitPacked struct method Encode (line 130) | func (c *gsm7bitPacked) Encode(str string) ([]byte, error) { method Decode (line 134) | func (c *gsm7bitPacked) Decode(data []byte) (string, error) { method DataCoding (line 138) | func (c *gsm7bitPacked) DataCoding() byte { return GSM7BITCoding } method ShouldSplit (line 140) | func (c *gsm7bitPacked) ShouldSplit(text string, octetLimit uint) (sho... method GetSeptetCount (line 151) | func (c *gsm7bitPacked) GetSeptetCount(runeSlice []rune) int { method EncodeSplit (line 158) | func (c *gsm7bitPacked) EncodeSplit(text string, octetLimit uint) (all... function determineTo (line 195) | func determineTo(from int, to int, lim int, runeSlice []rune) int { function shiftBitsLeftOne (line 222) | func shiftBitsLeftOne(input []byte, includeLSB bool) []byte { type ascii (line 239) | type ascii struct method Encode (line 241) | func (*ascii) Encode(str string) ([]byte, error) { method Decode (line 245) | func (*ascii) Decode(data []byte) (string, error) { method DataCoding (line 249) | func (*ascii) DataCoding() byte { return ASCIICoding } type iso88591 (line 251) | type iso88591 struct method Encode (line 253) | func (*iso88591) Encode(str string) ([]byte, error) { method Decode (line 257) | func (*iso88591) Decode(data []byte) (string, error) { method DataCoding (line 261) | func (*iso88591) DataCoding() byte { return LATIN1Coding } type binary8bit1 (line 263) | type binary8bit1 struct method Encode (line 265) | func (*binary8bit1) Encode(_ string) ([]byte, error) { method Decode (line 269) | func (*binary8bit1) Decode(_ []byte) (string, error) { method DataCoding (line 273) | func (*binary8bit1) DataCoding() byte { return BINARY8BIT1Coding } type binary8bit2 (line 275) | type binary8bit2 struct method Encode (line 277) | func (*binary8bit2) Encode(_ string) ([]byte, error) { method Decode (line 281) | func (*binary8bit2) Decode(_ []byte) (string, error) { method DataCoding (line 285) | func (*binary8bit2) DataCoding() byte { return BINARY8BIT2Coding } type iso88595 (line 287) | type iso88595 struct method Encode (line 289) | func (*iso88595) Encode(str string) ([]byte, error) { method Decode (line 293) | func (*iso88595) Decode(data []byte) (string, error) { method DataCoding (line 297) | func (*iso88595) DataCoding() byte { return CYRILLICCoding } type iso88598 (line 299) | type iso88598 struct method Encode (line 301) | func (*iso88598) Encode(str string) ([]byte, error) { method Decode (line 305) | func (*iso88598) Decode(data []byte) (string, error) { method DataCoding (line 309) | func (*iso88598) DataCoding() byte { return HEBREWCoding } type ucs2 (line 311) | type ucs2 struct method Encode (line 313) | func (*ucs2) Encode(str string) ([]byte, error) { method Decode (line 318) | func (*ucs2) Decode(data []byte) (string, error) { method ShouldSplit (line 323) | func (*ucs2) ShouldSplit(text string, octetLimit uint) (shouldSplit bo... method EncodeSplit (line 328) | func (c *ucs2) EncodeSplit(text string, octetLimit uint) (allSeg [][]b... method DataCoding (line 356) | func (*ucs2) DataCoding() byte { return UCS2Coding } function FromDataCoding (line 401) | func FromDataCoding(code byte) (enc Encoding) { type Splitter (line 412) | type Splitter interface FILE: data/codings_test.go function fromHex (line 11) | func fromHex(h string) (v []byte) { function testEncoding (line 20) | func testEncoding(t *testing.T, enc EncDec, original, expected string) { function testEncodingSplit (line 30) | func testEncodingSplit(t *testing.T, enc EncDec, octetLim uint, original... function shiftBitsOneRight (line 51) | func shiftBitsOneRight(input []byte) []byte { function TestCoding (line 66) | func TestCoding(t *testing.T) { function TestGSM7Bit (line 76) | func TestGSM7Bit(t *testing.T) { function TestShouldSplit (line 81) | func TestShouldSplit(t *testing.T) { function TestSplit (line 134) | func TestSplit(t *testing.T) { function TestSplit_GSM7BITPACKED (line 193) | func TestSplit_GSM7BITPACKED(t *testing.T) { function TestAscii (line 320) | func TestAscii(t *testing.T) { function TestUCS2 (line 325) | func TestUCS2(t *testing.T) { function TestLatin1 (line 330) | func TestLatin1(t *testing.T) { function TestCYRILLIC (line 335) | func TestCYRILLIC(t *testing.T) { function TestHebrew (line 340) | func TestHebrew(t *testing.T) { function TestOtherCodings (line 345) | func TestOtherCodings(t *testing.T) { type noOpEncDec (line 352) | type noOpEncDec struct method Encode (line 354) | func (*noOpEncDec) Encode(str string) ([]byte, error) { method Decode (line 358) | func (*noOpEncDec) Decode(data []byte) (string, error) { function TestCustomEncoding (line 362) | func TestCustomEncoding(t *testing.T) { FILE: data/header_data.go type CommandStatusType (line 6) | type CommandStatusType type CommandIDType (line 9) | type CommandIDType constant GENERIC_NACK (line 14) | GENERIC_NACK = CommandIDType(-2147483648) constant BIND_RECEIVER (line 15) | BIND_RECEIVER = CommandIDType(0x00000001) constant BIND_RECEIVER_RESP (line 16) | BIND_RECEIVER_RESP = CommandIDType(-2147483647) constant BIND_TRANSMITTER (line 17) | BIND_TRANSMITTER = CommandIDType(0x00000002) constant BIND_TRANSMITTER_RESP (line 18) | BIND_TRANSMITTER_RESP = CommandIDType(-2147483646) constant QUERY_SM (line 19) | QUERY_SM = CommandIDType(0x00000003) constant QUERY_SM_RESP (line 20) | QUERY_SM_RESP = CommandIDType(-2147483645) constant SUBMIT_SM (line 21) | SUBMIT_SM = CommandIDType(0x00000004) constant SUBMIT_SM_RESP (line 22) | SUBMIT_SM_RESP = CommandIDType(-2147483644) constant DELIVER_SM (line 23) | DELIVER_SM = CommandIDType(0x00000005) constant DELIVER_SM_RESP (line 24) | DELIVER_SM_RESP = CommandIDType(-2147483643) constant UNBIND (line 25) | UNBIND = CommandIDType(0x00000006) constant UNBIND_RESP (line 26) | UNBIND_RESP = CommandIDType(-2147483642) constant REPLACE_SM (line 27) | REPLACE_SM = CommandIDType(0x00000007) constant REPLACE_SM_RESP (line 28) | REPLACE_SM_RESP = CommandIDType(-2147483641) constant CANCEL_SM (line 29) | CANCEL_SM = CommandIDType(0x00000008) constant CANCEL_SM_RESP (line 30) | CANCEL_SM_RESP = CommandIDType(-2147483640) constant BIND_TRANSCEIVER (line 31) | BIND_TRANSCEIVER = CommandIDType(0x00000009) constant BIND_TRANSCEIVER_RESP (line 32) | BIND_TRANSCEIVER_RESP = CommandIDType(-2147483639) constant OUTBIND (line 33) | OUTBIND = CommandIDType(0x0000000B) constant ENQUIRE_LINK (line 34) | ENQUIRE_LINK = CommandIDType(0x00000015) constant ENQUIRE_LINK_RESP (line 35) | ENQUIRE_LINK_RESP = CommandIDType(-2147483627) constant SUBMIT_MULTI (line 36) | SUBMIT_MULTI = CommandIDType(0x00000021) constant SUBMIT_MULTI_RESP (line 37) | SUBMIT_MULTI_RESP = CommandIDType(-2147483615) constant ALERT_NOTIFICATION (line 38) | ALERT_NOTIFICATION = CommandIDType(0x00000102) constant DATA_SM (line 39) | DATA_SM = CommandIDType(0x00000103) constant DATA_SM_RESP (line 40) | DATA_SM_RESP = CommandIDType(-2147483389) constant ESME_ROK (line 46) | ESME_ROK = CommandStatusType(0x00000000) constant ESME_RINVMSGLEN (line 47) | ESME_RINVMSGLEN = CommandStatusType(0x00000001) constant ESME_RINVCMDLEN (line 48) | ESME_RINVCMDLEN = CommandStatusType(0x00000002) constant ESME_RINVCMDID (line 49) | ESME_RINVCMDID = CommandStatusType(0x00000003) constant ESME_RINVBNDSTS (line 50) | ESME_RINVBNDSTS = CommandStatusType(0x00000004) constant ESME_RALYBND (line 51) | ESME_RALYBND = CommandStatusType(0x00000005) constant ESME_RINVPRTFLG (line 52) | ESME_RINVPRTFLG = CommandStatusType(0x00000006) constant ESME_RINVREGDLVFLG (line 53) | ESME_RINVREGDLVFLG = CommandStatusType(0x00000007) constant ESME_RSYSERR (line 54) | ESME_RSYSERR = CommandStatusType(0x00000008) constant ESME_RINVSRCADR (line 55) | ESME_RINVSRCADR = CommandStatusType(0x0000000A) constant ESME_RINVDSTADR (line 56) | ESME_RINVDSTADR = CommandStatusType(0x0000000B) constant ESME_RINVMSGID (line 57) | ESME_RINVMSGID = CommandStatusType(0x0000000C) constant ESME_RBINDFAIL (line 58) | ESME_RBINDFAIL = CommandStatusType(0x0000000D) constant ESME_RINVPASWD (line 59) | ESME_RINVPASWD = CommandStatusType(0x0000000E) constant ESME_RINVSYSID (line 60) | ESME_RINVSYSID = CommandStatusType(0x0000000F) constant ESME_RCANCELFAIL (line 61) | ESME_RCANCELFAIL = CommandStatusType(0x00000011) constant ESME_RREPLACEFAIL (line 62) | ESME_RREPLACEFAIL = CommandStatusType(0x00000013) constant ESME_RMSGQFUL (line 63) | ESME_RMSGQFUL = CommandStatusType(0x00000014) constant ESME_RINVSERTYP (line 64) | ESME_RINVSERTYP = CommandStatusType(0x00000015) constant ESME_RADDCUSTFAIL (line 66) | ESME_RADDCUSTFAIL = CommandStatusType(0x00000019) constant ESME_RDELCUSTFAIL (line 67) | ESME_RDELCUSTFAIL = CommandStatusType(0x0000001A) constant ESME_RMODCUSTFAIL (line 68) | ESME_RMODCUSTFAIL = CommandStatusType(0x0000001B) constant ESME_RENQCUSTFAIL (line 69) | ESME_RENQCUSTFAIL = CommandStatusType(0x0000001C) constant ESME_RINVCUSTID (line 70) | ESME_RINVCUSTID = CommandStatusType(0x0000001D) constant ESME_RINVCUSTNAME (line 71) | ESME_RINVCUSTNAME = CommandStatusType(0x0000001F) constant ESME_RINVCUSTADR (line 72) | ESME_RINVCUSTADR = CommandStatusType(0x00000021) constant ESME_RINVADR (line 73) | ESME_RINVADR = CommandStatusType(0x00000022) constant ESME_RCUSTEXIST (line 74) | ESME_RCUSTEXIST = CommandStatusType(0x00000023) constant ESME_RCUSTNOTEXIST (line 75) | ESME_RCUSTNOTEXIST = CommandStatusType(0x00000024) constant ESME_RADDDLFAIL (line 76) | ESME_RADDDLFAIL = CommandStatusType(0x00000026) constant ESME_RMODDLFAIL (line 77) | ESME_RMODDLFAIL = CommandStatusType(0x00000027) constant ESME_RDELDLFAIL (line 78) | ESME_RDELDLFAIL = CommandStatusType(0x00000028) constant ESME_RVIEWDLFAIL (line 79) | ESME_RVIEWDLFAIL = CommandStatusType(0x00000029) constant ESME_RLISTDLSFAIL (line 80) | ESME_RLISTDLSFAIL = CommandStatusType(0x00000030) constant ESME_RPARAMRETFAIL (line 81) | ESME_RPARAMRETFAIL = CommandStatusType(0x00000031) constant ESME_RINVPARAM (line 82) | ESME_RINVPARAM = CommandStatusType(0x00000032) constant ESME_RINVNUMDESTS (line 84) | ESME_RINVNUMDESTS = CommandStatusType(0x00000033) constant ESME_RINVDLNAME (line 85) | ESME_RINVDLNAME = CommandStatusType(0x00000034) constant ESME_RINVDLMEMBDESC (line 87) | ESME_RINVDLMEMBDESC = CommandStatusType(0x00000035) constant ESME_RINVDLMEMBTYP (line 88) | ESME_RINVDLMEMBTYP = CommandStatusType(0x00000038) constant ESME_RINVDLMODOPT (line 89) | ESME_RINVDLMODOPT = CommandStatusType(0x00000039) constant ESME_RINVDESTFLAG (line 91) | ESME_RINVDESTFLAG = CommandStatusType(0x00000040) constant ESME_RINVSUBREP (line 92) | ESME_RINVSUBREP = CommandStatusType(0x00000042) constant ESME_RINVESMCLASS (line 93) | ESME_RINVESMCLASS = CommandStatusType(0x00000043) constant ESME_RCNTSUBDL (line 94) | ESME_RCNTSUBDL = CommandStatusType(0x00000044) constant ESME_RSUBMITFAIL (line 95) | ESME_RSUBMITFAIL = CommandStatusType(0x00000045) constant ESME_RINVSRCTON (line 96) | ESME_RINVSRCTON = CommandStatusType(0x00000048) constant ESME_RINVSRCNPI (line 97) | ESME_RINVSRCNPI = CommandStatusType(0x00000049) constant ESME_RINVDSTTON (line 98) | ESME_RINVDSTTON = CommandStatusType(0x00000050) constant ESME_RINVDSTNPI (line 99) | ESME_RINVDSTNPI = CommandStatusType(0x00000051) constant ESME_RINVSYSTYP (line 100) | ESME_RINVSYSTYP = CommandStatusType(0x00000053) constant ESME_RINVREPFLAG (line 101) | ESME_RINVREPFLAG = CommandStatusType(0x00000054) constant ESME_RINVNUMMSGS (line 102) | ESME_RINVNUMMSGS = CommandStatusType(0x00000055) constant ESME_RTHROTTLED (line 103) | ESME_RTHROTTLED = CommandStatusType(0x00000058) constant ESME_RPROVNOTALLWD (line 105) | ESME_RPROVNOTALLWD = CommandStatusType(0x00000059) constant ESME_RINVSCHED (line 107) | ESME_RINVSCHED = CommandStatusType(0x00000061) constant ESME_RINVEXPIRY (line 108) | ESME_RINVEXPIRY = CommandStatusType(0x00000062) constant ESME_RINVDFTMSGID (line 109) | ESME_RINVDFTMSGID = CommandStatusType(0x00000063) constant ESME_RX_T_APPN (line 110) | ESME_RX_T_APPN = CommandStatusType(0x00000064) constant ESME_RX_P_APPN (line 111) | ESME_RX_P_APPN = CommandStatusType(0x00000065) constant ESME_RX_R_APPN (line 112) | ESME_RX_R_APPN = CommandStatusType(0x00000066) constant ESME_RQUERYFAIL (line 113) | ESME_RQUERYFAIL = CommandStatusType(0x00000067) constant ESME_RINVPGCUSTID (line 115) | ESME_RINVPGCUSTID = CommandStatusType(0x00000080) constant ESME_RINVPGCUSTIDLEN (line 116) | ESME_RINVPGCUSTIDLEN = CommandStatusType(0x00000081) constant ESME_RINVCITYLEN (line 117) | ESME_RINVCITYLEN = CommandStatusType(0x00000082) constant ESME_RINVSTATELEN (line 118) | ESME_RINVSTATELEN = CommandStatusType(0x00000083) constant ESME_RINVZIPPREFIXLEN (line 119) | ESME_RINVZIPPREFIXLEN = CommandStatusType(0x00000084) constant ESME_RINVZIPPOSTFIXLEN (line 120) | ESME_RINVZIPPOSTFIXLEN = CommandStatusType(0x00000085) constant ESME_RINVMINLEN (line 121) | ESME_RINVMINLEN = CommandStatusType(0x00000086) constant ESME_RINVMIN (line 122) | ESME_RINVMIN = CommandStatusType(0x00000087) constant ESME_RINVPINLEN (line 123) | ESME_RINVPINLEN = CommandStatusType(0x00000088) constant ESME_RINVTERMCODELEN (line 124) | ESME_RINVTERMCODELEN = CommandStatusType(0x00000089) constant ESME_RINVCHANNELLEN (line 125) | ESME_RINVCHANNELLEN = CommandStatusType(0x0000008A) constant ESME_RINVCOVREGIONLEN (line 126) | ESME_RINVCOVREGIONLEN = CommandStatusType(0x0000008B) constant ESME_RINVCAPCODELEN (line 127) | ESME_RINVCAPCODELEN = CommandStatusType(0x0000008C) constant ESME_RINVMDTLEN (line 128) | ESME_RINVMDTLEN = CommandStatusType(0x0000008D) constant ESME_RINVPRIORMSGLEN (line 129) | ESME_RINVPRIORMSGLEN = CommandStatusType(0x0000008E) constant ESME_RINVPERMSGLEN (line 130) | ESME_RINVPERMSGLEN = CommandStatusType(0x0000008F) constant ESME_RINVPGALERTLEN (line 131) | ESME_RINVPGALERTLEN = CommandStatusType(0x00000090) constant ESME_RINVSMUSERLEN (line 132) | ESME_RINVSMUSERLEN = CommandStatusType(0x00000091) constant ESME_RINVRTDBLEN (line 133) | ESME_RINVRTDBLEN = CommandStatusType(0x00000092) constant ESME_RINVREGDELLEN (line 134) | ESME_RINVREGDELLEN = CommandStatusType(0x00000093) constant ESME_RINVMSGDISTLEN (line 135) | ESME_RINVMSGDISTLEN = CommandStatusType(0x00000094) constant ESME_RINVPRIORMSG (line 136) | ESME_RINVPRIORMSG = CommandStatusType(0x00000095) constant ESME_RINVMDT (line 137) | ESME_RINVMDT = CommandStatusType(0x00000096) constant ESME_RINVPERMSG (line 138) | ESME_RINVPERMSG = CommandStatusType(0x00000097) constant ESME_RINVMSGDIST (line 139) | ESME_RINVMSGDIST = CommandStatusType(0x00000098) constant ESME_RINVPGALERT (line 140) | ESME_RINVPGALERT = CommandStatusType(0x00000099) constant ESME_RINVSMUSER (line 141) | ESME_RINVSMUSER = CommandStatusType(0x0000009A) constant ESME_RINVRTDB (line 142) | ESME_RINVRTDB = CommandStatusType(0x0000009B) constant ESME_RINVREGDEL (line 143) | ESME_RINVREGDEL = CommandStatusType(0x0000009C) constant ESME_RINVOPTPARLEN (line 144) | ESME_RINVOPTPARLEN = CommandStatusType(0x0000009F) constant ESME_RINVOPTPARSTREAM (line 145) | ESME_RINVOPTPARSTREAM = CommandStatusType(0x000000C0) constant ESME_ROPTPARNOTALLWD (line 146) | ESME_ROPTPARNOTALLWD = CommandStatusType(0x000000C1) constant ESME_RINVPARLEN (line 147) | ESME_RINVPARLEN = CommandStatusType(0x000000C2) constant ESME_RMISSINGOPTPARAM (line 148) | ESME_RMISSINGOPTPARAM = CommandStatusType(0x000000C3) constant ESME_RINVOPTPARAMVAL (line 149) | ESME_RINVOPTPARAMVAL = CommandStatusType(0x000000C4) constant ESME_RDELIVERYFAILURE (line 150) | ESME_RDELIVERYFAILURE = CommandStatusType(0x000000FE) constant ESME_RUNKNOWNERR (line 151) | ESME_RUNKNOWNERR = CommandStatusType(0x000000FF) constant ESME_LAST_ERROR (line 153) | ESME_LAST_ERROR = CommandStatusType(0x0000012C) FILE: data/header_data_string.go function _ (line 7) | func _() { constant _CommandStatusType_name (line 113) | _CommandStatusType_name = "ESME_ROKESME_RINVMSGLENESME_RINVCMDLENESME_RI... method String (line 218) | func (i CommandStatusType) String() string { method Desc (line 225) | func (i CommandStatusType) Desc() string { function _ (line 431) | func _() { constant _CommandIDType_name_0 (line 465) | _CommandIDType_name_0 = "GENERIC_NACKBIND_RECEIVER_RESPBIND_TRANSMITTER_... constant _CommandIDType_name_1 (line 466) | _CommandIDType_name_1 = "ENQUIRE_LINK_RESP" constant _CommandIDType_name_2 (line 467) | _CommandIDType_name_2 = "SUBMIT_MULTI_RESP" constant _CommandIDType_name_3 (line 468) | _CommandIDType_name_3 = "DATA_SM_RESP" constant _CommandIDType_name_4 (line 469) | _CommandIDType_name_4 = "BIND_RECEIVERBIND_TRANSMITTERQUERY_SMSUBMIT_SMD... constant _CommandIDType_name_5 (line 470) | _CommandIDType_name_5 = "OUTBIND" constant _CommandIDType_name_6 (line 471) | _CommandIDType_name_6 = "ENQUIRE_LINK" constant _CommandIDType_name_7 (line 472) | _CommandIDType_name_7 = "SUBMIT_MULTI" constant _CommandIDType_name_8 (line 473) | _CommandIDType_name_8 = "ALERT_NOTIFICATIONDATA_SM" method String (line 482) | func (i CommandIDType) String() string { FILE: data/other_codings.go type utf16BEM (line 21) | type utf16BEM struct method Encode (line 23) | func (c utf16BEM) Encode(str string) ([]byte, error) { method Decode (line 28) | func (c utf16BEM) Decode(data []byte) (string, error) { type utf16LEM (line 33) | type utf16LEM struct method Encode (line 35) | func (c utf16LEM) Encode(str string) ([]byte, error) { method Decode (line 40) | func (c utf16LEM) Decode(data []byte) (string, error) { type utf16BE (line 45) | type utf16BE struct method Encode (line 47) | func (c utf16BE) Encode(str string) ([]byte, error) { method Decode (line 52) | func (c utf16BE) Decode(data []byte) (string, error) { type utf16LE (line 57) | type utf16LE struct method Encode (line 59) | func (c utf16LE) Encode(str string) ([]byte, error) { method Decode (line 64) | func (c utf16LE) Decode(data []byte) (string, error) { FILE: data/pkg.go constant SM_CONNID_LEN (line 10) | SM_CONNID_LEN = 16 constant SM_MSG_LEN (line 11) | SM_MSG_LEN = 254 constant SM_SYSID_LEN (line 12) | SM_SYSID_LEN = 16 constant SM_MSGID_LEN (line 13) | SM_MSGID_LEN = 64 constant SM_PASS_LEN (line 14) | SM_PASS_LEN = 9 constant SM_DATE_LEN (line 15) | SM_DATE_LEN = 17 constant SM_SRVTYPE_LEN (line 16) | SM_SRVTYPE_LEN = 6 constant SM_SYSTYPE_LEN (line 17) | SM_SYSTYPE_LEN = 13 constant SM_ADDR_LEN (line 18) | SM_ADDR_LEN = 21 constant SM_DATA_ADDR_LEN (line 19) | SM_DATA_ADDR_LEN = 65 constant SM_ADDR_RANGE_LEN (line 20) | SM_ADDR_RANGE_LEN = 41 constant SM_TYPE_LEN (line 21) | SM_TYPE_LEN = 13 constant SM_DL_NAME_LEN (line 22) | SM_DL_NAME_LEN = 21 constant SM_PARAM_NAME_LEN (line 23) | SM_PARAM_NAME_LEN = 10 constant SM_PARAM_VALUE_LEN (line 24) | SM_PARAM_VALUE_LEN = 10 constant SM_MAX_CNT_DEST_ADDR (line 25) | SM_MAX_CNT_DEST_ADDR = 254 constant SM_GSM_MSG_LEN (line 28) | SM_GSM_MSG_LEN = 140 constant CONNECTION_CLOSED (line 30) | CONNECTION_CLOSED = 0 constant CONNECTION_OPENED (line 31) | CONNECTION_OPENED = 1 constant SM_ACK (line 33) | SM_ACK = 1 constant SM_NO_ACK (line 34) | SM_NO_ACK = 0 constant SM_RESPONSE_ACK (line 35) | SM_RESPONSE_ACK = 0 constant SM_RESPONSE_TNACK (line 36) | SM_RESPONSE_TNACK = 1 constant SM_RESPONSE_PNACK (line 37) | SM_RESPONSE_PNACK = 2 constant SMPP_V33 (line 40) | SMPP_V33 int8 = int8(-0x33) constant SMPP_V34 (line 41) | SMPP_V34 = byte(0x34) constant GSM_TON_UNKNOWN (line 44) | GSM_TON_UNKNOWN = byte(0x00) constant GSM_TON_INTERNATIONAL (line 45) | GSM_TON_INTERNATIONAL = byte(0x01) constant GSM_TON_NATIONAL (line 46) | GSM_TON_NATIONAL = byte(0x02) constant GSM_TON_NETWORK (line 47) | GSM_TON_NETWORK = byte(0x03) constant GSM_TON_SUBSCRIBER (line 48) | GSM_TON_SUBSCRIBER = byte(0x04) constant GSM_TON_ALPHANUMERIC (line 49) | GSM_TON_ALPHANUMERIC = byte(0x05) constant GSM_TON_ABBREVIATED (line 50) | GSM_TON_ABBREVIATED = byte(0x06) constant GSM_TON_RESERVED_EXTN (line 51) | GSM_TON_RESERVED_EXTN = byte(0x07) constant GSM_NPI_UNKNOWN (line 54) | GSM_NPI_UNKNOWN = byte(0x00) constant GSM_NPI_E164 (line 55) | GSM_NPI_E164 = byte(0x01) constant GSM_NPI_ISDN (line 56) | GSM_NPI_ISDN = GSM_NPI_E164 constant GSM_NPI_X121 (line 57) | GSM_NPI_X121 = byte(0x03) constant GSM_NPI_TELEX (line 58) | GSM_NPI_TELEX = byte(0x04) constant GSM_NPI_LAND_MOBILE (line 59) | GSM_NPI_LAND_MOBILE = byte(0x06) constant GSM_NPI_NATIONAL (line 60) | GSM_NPI_NATIONAL = byte(0x08) constant GSM_NPI_PRIVATE (line 61) | GSM_NPI_PRIVATE = byte(0x09) constant GSM_NPI_ERMES (line 62) | GSM_NPI_ERMES = byte(0x0A) constant GSM_NPI_INTERNET (line 63) | GSM_NPI_INTERNET = byte(0x0E) constant GSM_NPI_WAP_CLIENT_ID (line 64) | GSM_NPI_WAP_CLIENT_ID = byte(0x12) constant GSM_NPI_RESERVED_EXTN (line 65) | GSM_NPI_RESERVED_EXTN = byte(0x0F) constant SERVICE_NULL (line 68) | SERVICE_NULL string = "" constant SERVICE_CMT (line 69) | SERVICE_CMT string = "CMT" constant SERVICE_CPT (line 70) | SERVICE_CPT string = "CPT" constant SERVICE_VMN (line 71) | SERVICE_VMN string = "VMN" constant SERVICE_VMA (line 72) | SERVICE_VMA string = "VMA" constant SERVICE_WAP (line 73) | SERVICE_WAP string = "WAP" constant SERVICE_USSD (line 74) | SERVICE_USSD string = "USSD" constant SMPP_PROTOCOL (line 76) | SMPP_PROTOCOL = byte(1) constant SMPPP_PROTOCOL (line 77) | SMPPP_PROTOCOL = byte(2) constant SM_SERVICE_MOBILE_TERMINATED (line 78) | SM_SERVICE_MOBILE_TERMINATED = byte(0) constant SM_SERVICE_MOBILE_ORIGINATED (line 79) | SM_SERVICE_MOBILE_ORIGINATED = byte(1) constant SM_SERVICE_MOBILE_TRANSCEIVER (line 80) | SM_SERVICE_MOBILE_TRANSCEIVER = byte(2) constant SM_STATE_EN_ROUTE (line 83) | SM_STATE_EN_ROUTE = 1 constant SM_STATE_DELIVERED (line 84) | SM_STATE_DELIVERED = 2 constant SM_STATE_EXPIRED (line 85) | SM_STATE_EXPIRED = 3 constant SM_STATE_DELETED (line 86) | SM_STATE_DELETED = 4 constant SM_STATE_UNDELIVERABLE (line 87) | SM_STATE_UNDELIVERABLE = 5 constant SM_STATE_ACCEPTED (line 88) | SM_STATE_ACCEPTED = 6 constant SM_STATE_INVALID (line 89) | SM_STATE_INVALID = 7 constant SM_STATE_REJECTED (line 90) | SM_STATE_REJECTED = 8 constant SM_ESM_DEFAULT (line 97) | SM_ESM_DEFAULT = 0x00 constant SM_DATAGRAM_MODE (line 98) | SM_DATAGRAM_MODE = 0x01 constant SM_FORWARD_MODE (line 99) | SM_FORWARD_MODE = 0x02 constant SM_STORE_FORWARD_MODE (line 100) | SM_STORE_FORWARD_MODE = 0x03 constant SM_SMSC_DLV_RCPT_TYPE (line 103) | SM_SMSC_DLV_RCPT_TYPE = 0x04 constant SM_ESME_DLV_ACK_TYPE (line 104) | SM_ESME_DLV_ACK_TYPE = 0x08 constant SM_ESME_MAN_USER_ACK_TYPE (line 105) | SM_ESME_MAN_USER_ACK_TYPE = 0x10 constant SM_CONV_ABORT_TYPE (line 106) | SM_CONV_ABORT_TYPE = 0x18 constant SM_INTMD_DLV_NOTIFY_TYPE (line 107) | SM_INTMD_DLV_NOTIFY_TYPE = 0x20 constant SM_NONE_GSM (line 110) | SM_NONE_GSM = 0x00 constant SM_UDH_GSM (line 111) | SM_UDH_GSM = 0x40 constant SM_REPLY_PATH_GSM (line 112) | SM_REPLY_PATH_GSM = 0x80 constant SM_UDH_REPLY_PATH_GSM (line 113) | SM_UDH_REPLY_PATH_GSM = 0xC0 constant OPT_PAR_MSG_WAIT (line 119) | OPT_PAR_MSG_WAIT = 2 constant OPT_PAR_PRIV_IND (line 122) | OPT_PAR_PRIV_IND = 0x0201 constant OPT_PAR_SRC_SUBADDR (line 125) | OPT_PAR_SRC_SUBADDR = 0x0202 constant OPT_PAR_SRC_SUBADDR_MIN (line 126) | OPT_PAR_SRC_SUBADDR_MIN = 2 constant OPT_PAR_SRC_SUBADDR_MAX (line 127) | OPT_PAR_SRC_SUBADDR_MAX = 23 constant OPT_PAR_DEST_SUBADDR (line 130) | OPT_PAR_DEST_SUBADDR = 0x0203 constant OPT_PAR_DEST_SUBADDR_MIN (line 131) | OPT_PAR_DEST_SUBADDR_MIN = 2 constant OPT_PAR_DEST_SUBADDR_MAX (line 132) | OPT_PAR_DEST_SUBADDR_MAX = 23 constant OPT_PAR_USER_MSG_REF (line 135) | OPT_PAR_USER_MSG_REF = 0x0204 constant OPT_PAR_USER_RESP_CODE (line 138) | OPT_PAR_USER_RESP_CODE = 0x0205 constant OPT_PAR_LANG_IND (line 141) | OPT_PAR_LANG_IND = 0x020D constant OPT_PAR_SRC_PORT (line 144) | OPT_PAR_SRC_PORT = 0x020A constant OPT_PAR_DST_PORT (line 147) | OPT_PAR_DST_PORT = 0x020B constant OPT_PAR_SAR_MSG_REF_NUM (line 150) | OPT_PAR_SAR_MSG_REF_NUM = 0x020C constant OPT_PAR_SAR_TOT_SEG (line 153) | OPT_PAR_SAR_TOT_SEG = 0x020E constant OPT_PAR_SAR_SEG_SNUM (line 156) | OPT_PAR_SAR_SEG_SNUM = 0x020F constant OPT_PAR_SC_IF_VER (line 159) | OPT_PAR_SC_IF_VER = 0x0210 constant OPT_PAR_DISPLAY_TIME (line 162) | OPT_PAR_DISPLAY_TIME = 0x1201 constant OPT_PAR_MS_VALIDITY (line 165) | OPT_PAR_MS_VALIDITY = 0x1204 constant OPT_PAR_DPF_RES (line 168) | OPT_PAR_DPF_RES = 0x0420 constant OPT_PAR_SET_DPF (line 171) | OPT_PAR_SET_DPF = 0x0421 constant OPT_PAR_MS_AVAIL_STAT (line 174) | OPT_PAR_MS_AVAIL_STAT = 0x0422 constant OPT_PAR_NW_ERR_CODE (line 177) | OPT_PAR_NW_ERR_CODE = 0x0423 constant OPT_PAR_NW_ERR_CODE_MIN (line 178) | OPT_PAR_NW_ERR_CODE_MIN = 3 constant OPT_PAR_NW_ERR_CODE_MAX (line 179) | OPT_PAR_NW_ERR_CODE_MAX = 3 constant OPT_PAR_DEL_FAIL_RSN (line 184) | OPT_PAR_DEL_FAIL_RSN = 0x0425 constant OPT_PAR_MORE_MSGS (line 187) | OPT_PAR_MORE_MSGS = 0x0426 constant OPT_PAR_MSG_STATE (line 190) | OPT_PAR_MSG_STATE = 0x0427 constant OPT_PAR_CALLBACK_NUM (line 193) | OPT_PAR_CALLBACK_NUM = 0x0381 constant OPT_PAR_CALLBACK_NUM_MIN (line 194) | OPT_PAR_CALLBACK_NUM_MIN = 4 constant OPT_PAR_CALLBACK_NUM_MAX (line 195) | OPT_PAR_CALLBACK_NUM_MAX = 19 constant OPT_PAR_CALLBACK_NUM_PRES_IND (line 198) | OPT_PAR_CALLBACK_NUM_PRES_IND = 0x0302 constant OPT_PAR_CALLBACK_NUM_ATAG (line 201) | OPT_PAR_CALLBACK_NUM_ATAG = 0x0303 constant OPT_PAR_CALLBACK_NUM_ATAG_MIN (line 202) | OPT_PAR_CALLBACK_NUM_ATAG_MIN = 1 constant OPT_PAR_CALLBACK_NUM_ATAG_MAX (line 203) | OPT_PAR_CALLBACK_NUM_ATAG_MAX = 65 constant OPT_PAR_NUM_MSGS (line 206) | OPT_PAR_NUM_MSGS = 0x0304 constant OPT_PAR_SMS_SIGNAL (line 209) | OPT_PAR_SMS_SIGNAL = 0x1203 constant OPT_PAR_ALERT_ON_MSG_DELIVERY (line 212) | OPT_PAR_ALERT_ON_MSG_DELIVERY = 0x130C constant OPT_PAR_ITS_REPLY_TYPE (line 215) | OPT_PAR_ITS_REPLY_TYPE = 0x1380 constant OPT_PAR_ITS_SESSION_INFO (line 218) | OPT_PAR_ITS_SESSION_INFO = 0x1383 constant OPT_PAR_USSD_SER_OP (line 221) | OPT_PAR_USSD_SER_OP = 0x0501 constant SM_NOPRIORITY (line 224) | SM_NOPRIORITY = 0 constant SM_PRIORITY (line 225) | SM_PRIORITY = 1 constant SM_SMSC_RECEIPT_MASK (line 229) | SM_SMSC_RECEIPT_MASK = byte(0x03) constant SM_SMSC_RECEIPT_NOT_REQUESTED (line 230) | SM_SMSC_RECEIPT_NOT_REQUESTED = byte(0x00) constant SM_SMSC_RECEIPT_REQUESTED (line 231) | SM_SMSC_RECEIPT_REQUESTED = byte(0x01) constant SM_SMSC_RECEIPT_ON_FAILURE (line 232) | SM_SMSC_RECEIPT_ON_FAILURE = byte(0x02) constant SM_SME_ACK_MASK (line 234) | SM_SME_ACK_MASK = byte(0x0c) constant SM_SME_ACK_NOT_REQUESTED (line 235) | SM_SME_ACK_NOT_REQUESTED = byte(0x00) constant SM_SME_ACK_DELIVERY_REQUESTED (line 236) | SM_SME_ACK_DELIVERY_REQUESTED = byte(0x04) constant SM_SME_ACK_MANUAL_REQUESTED (line 237) | SM_SME_ACK_MANUAL_REQUESTED = byte(0x08) constant SM_SME_ACK_BOTH_REQUESTED (line 238) | SM_SME_ACK_BOTH_REQUESTED = byte(0x0c) constant SM_NOTIF_MASK (line 240) | SM_NOTIF_MASK = byte(0x010) constant SM_NOTIF_NOT_REQUESTED (line 241) | SM_NOTIF_NOT_REQUESTED = byte(0x000) constant SM_NOTIF_REQUESTED (line 242) | SM_NOTIF_REQUESTED = byte(0x010) constant SM_NOREPLACE (line 245) | SM_NOREPLACE = 0 constant SM_REPLACE (line 246) | SM_REPLACE = 1 constant SM_DEST_SME_ADDRESS (line 249) | SM_DEST_SME_ADDRESS = 1 constant SM_DEST_DL_NAME (line 250) | SM_DEST_DL_NAME = 2 constant SM_LAYER_WDP (line 253) | SM_LAYER_WDP = 0 constant SM_LAYER_WCMP (line 254) | SM_LAYER_WCMP = 1 constant SM_OPCLASS_DATAGRAM (line 257) | SM_OPCLASS_DATAGRAM = 0 constant SM_OPCLASS_TRANSACTION (line 258) | SM_OPCLASS_TRANSACTION = 3 constant OPT_PAR_ORIG_MSC_ADDR (line 261) | OPT_PAR_ORIG_MSC_ADDR = -32639 constant OPT_PAR_ORIG_MSC_ADDR_MIN (line 262) | OPT_PAR_ORIG_MSC_ADDR_MIN = 1 constant OPT_PAR_ORIG_MSC_ADDR_MAX (line 263) | OPT_PAR_ORIG_MSC_ADDR_MAX = 24 constant OPT_PAR_DEST_MSC_ADDR (line 266) | OPT_PAR_DEST_MSC_ADDR = -32638 constant OPT_PAR_DEST_MSC_ADDR_MIN (line 267) | OPT_PAR_DEST_MSC_ADDR_MIN = 1 constant OPT_PAR_DEST_MSC_ADDR_MAX (line 268) | OPT_PAR_DEST_MSC_ADDR_MAX = 24 constant OPT_PAR_UNUSED (line 271) | OPT_PAR_UNUSED = 0xffff constant OPT_PAR_DST_ADDR_SUBUNIT (line 274) | OPT_PAR_DST_ADDR_SUBUNIT = 0x0005 constant OPT_PAR_DST_NW_TYPE (line 277) | OPT_PAR_DST_NW_TYPE = 0x0006 constant OPT_PAR_DST_BEAR_TYPE (line 280) | OPT_PAR_DST_BEAR_TYPE = 0x0007 constant OPT_PAR_DST_TELE_ID (line 283) | OPT_PAR_DST_TELE_ID = 0x0008 constant OPT_PAR_SRC_ADDR_SUBUNIT (line 286) | OPT_PAR_SRC_ADDR_SUBUNIT = 0x000D constant OPT_PAR_SRC_NW_TYPE (line 289) | OPT_PAR_SRC_NW_TYPE = 0x000E constant OPT_PAR_SRC_BEAR_TYPE (line 292) | OPT_PAR_SRC_BEAR_TYPE = 0x000F constant OPT_PAR_SRC_TELE_ID (line 295) | OPT_PAR_SRC_TELE_ID = 0x0010 constant OPT_PAR_QOS_TIME_TO_LIVE (line 298) | OPT_PAR_QOS_TIME_TO_LIVE = 0x0017 constant OPT_PAR_QOS_TIME_TO_LIVE_MIN (line 299) | OPT_PAR_QOS_TIME_TO_LIVE_MIN = 1 constant OPT_PAR_QOS_TIME_TO_LIVE_MAX (line 300) | OPT_PAR_QOS_TIME_TO_LIVE_MAX = 4 constant OPT_PAR_PAYLOAD_TYPE (line 303) | OPT_PAR_PAYLOAD_TYPE = 0x0019 constant OPT_PAR_ADD_STAT_INFO (line 306) | OPT_PAR_ADD_STAT_INFO = 0x001D constant OPT_PAR_ADD_STAT_INFO_MIN (line 307) | OPT_PAR_ADD_STAT_INFO_MIN = 1 constant OPT_PAR_ADD_STAT_INFO_MAX (line 308) | OPT_PAR_ADD_STAT_INFO_MAX = 256 constant OPT_PAR_RECP_MSG_ID (line 311) | OPT_PAR_RECP_MSG_ID = 0x001E constant OPT_PAR_RECP_MSG_ID_MIN (line 312) | OPT_PAR_RECP_MSG_ID_MIN = 1 constant OPT_PAR_RECP_MSG_ID_MAX (line 313) | OPT_PAR_RECP_MSG_ID_MAX = 65 constant OPT_PAR_MSG_PAYLOAD (line 316) | OPT_PAR_MSG_PAYLOAD = 0x0424 constant OPT_PAR_MSG_PAYLOAD_MIN (line 317) | OPT_PAR_MSG_PAYLOAD_MIN = 1 constant OPT_PAR_MSG_PAYLOAD_MAX (line 318) | OPT_PAR_MSG_PAYLOAD_MAX = 1500 constant UDH_CONCAT_MSG_8_BIT_REF (line 321) | UDH_CONCAT_MSG_8_BIT_REF = byte(0x00) constant UDH_CONCAT_MSG_16_BIT_REF (line 322) | UDH_CONCAT_MSG_16_BIT_REF = byte(0x08) constant DFLT_MSGID (line 331) | DFLT_MSGID string = "" constant DFLT_MSG (line 332) | DFLT_MSG string = "" constant DFLT_SRVTYPE (line 333) | DFLT_SRVTYPE string = "" constant DFLT_SYSID (line 334) | DFLT_SYSID string = "" constant DFLT_PASS (line 335) | DFLT_PASS string = "" constant DFLT_SYSTYPE (line 336) | DFLT_SYSTYPE string = "" constant DFLT_ADDR_RANGE (line 337) | DFLT_ADDR_RANGE string = "" constant DFLT_DATE (line 338) | DFLT_DATE string = "" constant DFLT_ADDR (line 339) | DFLT_ADDR string = "" constant DFLT_MSG_STATE (line 340) | DFLT_MSG_STATE byte = 0 constant DFLT_ERR (line 341) | DFLT_ERR byte = 0 constant DFLT_SCHEDULE (line 342) | DFLT_SCHEDULE string = "" constant DFLT_VALIDITY (line 343) | DFLT_VALIDITY string = "" constant DFLT_REG_DELIVERY (line 344) | DFLT_REG_DELIVERY = SM_SMSC_RECEIPT_NOT_REQUESTED | SM_SME_ACK_N... constant DFLT_DFLTMSGID (line 345) | DFLT_DFLTMSGID = byte(0) constant DFLT_MSG_LEN (line 346) | DFLT_MSG_LEN = byte(0) constant DFLT_ESM_CLASS (line 347) | DFLT_ESM_CLASS = byte(0) constant DFLT_DATA_CODING (line 348) | DFLT_DATA_CODING = byte(0) constant DFLT_PROTOCOLID (line 349) | DFLT_PROTOCOLID = byte(0) constant DFLT_PRIORITY_FLAG (line 350) | DFLT_PRIORITY_FLAG = byte(0) constant DFTL_REPLACE_IFP (line 351) | DFTL_REPLACE_IFP = byte(0) constant DFLT_DL_NAME (line 352) | DFLT_DL_NAME string = "" constant DFLT_GSM_TON (line 353) | DFLT_GSM_TON = GSM_TON_UNKNOWN constant DFLT_GSM_NPI (line 354) | DFLT_GSM_NPI = GSM_NPI_UNKNOWN constant DFLT_DEST_FLAG (line 355) | DFLT_DEST_FLAG = byte(0) constant MAX_PDU_LEN (line 356) | MAX_PDU_LEN = 64 << 10 constant PDU_HEADER_SIZE (line 358) | PDU_HEADER_SIZE = 16 constant TLV_HEADER_SIZE (line 359) | TLV_HEADER_SIZE = 4 constant RECEIVER_TIMEOUT (line 362) | RECEIVER_TIMEOUT int64 = 60000 constant CONNECTION_RECEIVE_TIMEOUT (line 363) | CONNECTION_RECEIVE_TIMEOUT int64 = 10000 constant UNBIND_RECEIVE_TIMEOUT (line 364) | UNBIND_RECEIVE_TIMEOUT int64 = 5000 constant CONNECTION_SEND_TIMEOUT (line 365) | CONNECTION_SEND_TIMEOUT int64 = 20000 constant COMMS_TIMEOUT (line 366) | COMMS_TIMEOUT int64 = 60000 constant QUEUE_TIMEOUT (line 367) | QUEUE_TIMEOUT int64 = 10000 constant ACCEPT_TIMEOUT (line 368) | ACCEPT_TIMEOUT int64 = 60000 constant RECEIVE_BLOCKING (line 370) | RECEIVE_BLOCKING int64 = -1 constant MAX_VALUE_PORT (line 372) | MAX_VALUE_PORT = 65535 constant MIN_VALUE_PORT (line 373) | MIN_VALUE_PORT = 100 constant MIN_LENGTH_ADDRESS (line 374) | MIN_LENGTH_ADDRESS = 7 function init (line 389) | func init() { function SetDefaultTon (line 395) | func SetDefaultTon(dfltTon byte) { function GetDefaultTon (line 400) | func GetDefaultTon() byte { function SetDefaultNpi (line 405) | func SetDefaultNpi(dfltNpi byte) { function GetDefaultNpi (line 410) | func GetDefaultNpi() byte { FILE: data/pkg_test.go function TestDefaultNpi (line 9) | func TestDefaultNpi(t *testing.T) { function TestDefaultTon (line 14) | func TestDefaultTon(t *testing.T) { FILE: data/utils.go function FindEncoding (line 7) | func FindEncoding(s string) (enc Encoding) { function isASCII (line 16) | func isASCII(s string) bool { FILE: data/utils_test.go function TestFindEncoding (line 9) | func TestFindEncoding(t *testing.T) { FILE: errors/pkg.go type SmppErr (line 10) | type SmppErr struct method Error (line 16) | func (s *SmppErr) Error() string { FILE: errors/pkg_test.go function TestErr (line 10) | func TestErr(t *testing.T) { FILE: example/smsc_simulator/smsc.cpp function currentUSecsSinceEpoch (line 43) | uint64_t currentUSecsSinceEpoch(void) { class ClientConfig (line 51) | class ClientConfig { method ClientConfig (line 53) | ClientConfig() {} method ClientConfig (line 58) | static ClientConfig& instance() { method is (line 65) | bool is(string esme_id, ConfigEntry entry) { return false; } class MessageDeliverer (line 70) | class MessageDeliverer { class Message (line 72) | class Message { method Message (line 98) | Message() {} method Message (line 99) | Message(char* in) { content = in; } method string (line 102) | string getContent(void) { return content; } method setSource (line 104) | void setSource(uint8_t ton, uint8_t npi, char* addr) { method setDestination (line 109) | void setDestination(uint8_t ton, uint8_t npi, char* addr) { method setRegisteredDelivery (line 114) | void setRegisteredDelivery(uint8_t val) { registered_delivery = val; } method setShortMessage (line 115) | void setShortMessage(uint8_t* sm_in, uint8_t sm_len_in) { method setSMSCMessageID (line 119) | void setSMSCMessageID(char* id) { smscMessageID = id; } method MessageDeliverer (line 127) | MessageDeliverer() {} method empty (line 132) | bool empty(void) { return (mq.size() == 0); } method get (line 134) | bool get(Message& msgout) { method MessageDeliverer (line 156) | static MessageDeliverer* getInstance(string& systemID) { method getInstance_get (line 166) | static bool getInstance_get(string& systemID, Message& msgout) { method add (line 182) | void add(uint64_t timeDeliver, Message msg) { class SMPPSocket (line 201) | class SMPPSocket { method SMPPSocket (line 206) | SMPPSocket() {} class SMPPSocketUnencrypted (line 216) | class SMPPSocketUnencrypted : public SMPPSocket { method SMPPSocketUnencrypted (line 219) | SMPPSocketUnencrypted() {} method SMPPSocketUnencrypted (line 220) | SMPPSocketUnencrypted(int socket_in) { socket = socket_in; } method bytes_to_read (line 223) | long bytes_to_read(void) { method recvA (line 229) | bool recvA(uint8_t& oct) { method recv (line 233) | void recv(void) {} method send (line 234) | bool send(uint8_t* buf, int len) { class SMPP (line 241) | class SMPP { class CmdStatus (line 243) | class CmdStatus { class CmdID (line 254) | class CmdID { method GSMTimeStringShort (line 339) | static void GSMTimeStringShort(time_t& t, char* szTimestamp, int nLen) { method time_t (line 352) | static time_t GSMStringTime(const char* szBuf) { method time_t (line 388) | static time_t GSMRelativeTime(char* szBuf) { class SMPPConnection (line 398) | class SMPPConnection { class SMPPException (line 400) | class SMPPException {} method getInteger (line 434) | uint64_t getInteger(void) { method getBytes (line 444) | uint64_t getBytes(uint64_t len, uint8_t* mem) { method SMPPConnection (line 453) | SMPPConnection() { method setDebug (line 466) | void setDebug(bool val) { debug = val; } method allocateSocket (line 468) | void allocateSocket(void) { socket = new SMPPSocketUnencrypted; } method allocateSocket (line 470) | void allocateSocket(int fdsocket) { method setIP (line 474) | void setIP(char* ip_in) { method endian (line 483) | uint64_t endian(uint64_t a) { method put (line 492) | bool put(uint64_t sequence_number, uint64_t cmdID, uint64_t status, method get (line 514) | bool get() { method pduCommandID (line 571) | uint64_t pduCommandID(void) { return command_received_header.command_i... method pduSequenceNo (line 572) | uint64_t pduSequenceNo(void) { class Session (line 577) | class Session { method Session (line 582) | Session() {} class AdminSession (line 589) | class AdminSession : public Session { method AdminSession (line 591) | AdminSession() { sessionType = 0; } method AdminSession (line 592) | AdminSession(int fdsocket) { method timedCheck (line 597) | bool timedCheck(void) { method run (line 602) | bool run(void) { return true; } class SMPPSession (line 605) | class SMPPSession : public Session { method SMPPSession (line 627) | SMPPSession() { method SMPPSession (line 636) | SMPPSession(int fdsocket, char* ip) { method setDebug (line 651) | void setDebug(bool val) { conn.setDebug(val); } method getCOctetString (line 653) | bool getCOctetString(uint8_t* buf_ptr, int buf_len, int& idx, string& ... method timedCheck (line 668) | bool timedCheck(void) { method generateMO (line 746) | void generateMO(uint8_t source_addr_ton, uint8_t source_addr_npi, method generateReceipt (line 789) | void generateReceipt(uint8_t source_addr_ton, uint8_t source_addr_npi, method run (line 876) | bool run(void) { method getVersion (line 1193) | uint8_t getVersion(void) { return version; } method setVersion (line 1194) | void setVersion(uint8_t version_in) { version = version_in; } method logCommand (line 1196) | void logCommand(uint64_t cmdID, const char* direction) { method logCommand (line 1203) | void logCommand(char* logline, const char* direction) { method recv (line 1217) | bool recv(uint64_t& cmdID, uint64_t& seqNo) { method send (line 1227) | bool send(uint64_t seqNo, uint64_t cmdID, uint64_t cmdStatus, uint8_t*... function dolisten (line 1240) | int dolisten(int portno) { function main (line 1302) | int main(int argc, const char* argv[]) { FILE: example/transceiver_with_auto_response/main.go function main (line 15) | func main() { function sendingAndReceiveSMS (line 24) | func sendingAndReceiveSMS(wg *sync.WaitGroup) { function handlePDU (line 75) | func handlePDU() func(pdu.PDU, bool) { function newSubmitSM (line 117) | func newSubmitSM() *pdu.SubmitSM { function isConcatenatedDone (line 141) | func isConcatenatedDone(parts []string, total byte) bool { FILE: example/transceiver_with_manual_response/main.go function main (line 14) | func main() { function sendingAndReceiveSMS (line 23) | func sendingAndReceiveSMS(wg *sync.WaitGroup) { function handlePDU (line 74) | func handlePDU() func(pdu.PDU) (pdu.PDU, bool) { function newSubmitSM (line 109) | func newSubmitSM() *pdu.SubmitSM { FILE: example/transeiver_with_custom_store/CustomStore.go type CustomStore (line 28) | type CustomStore struct method Set (line 39) | func (s CustomStore) Set(ctx context.Context, request gosmpp.Request) ... method Get (line 54) | func (s CustomStore) Get(ctx context.Context, sequenceNumber int32) (g... method List (line 72) | func (s CustomStore) List(ctx context.Context) []gosmpp.Request { method Delete (line 91) | func (s CustomStore) Delete(ctx context.Context, sequenceNumber int32)... method Clear (line 104) | func (s CustomStore) Clear(ctx context.Context) error { method Length (line 117) | func (s CustomStore) Length(ctx context.Context) (int, error) { function NewCustomStore (line 32) | func NewCustomStore() CustomStore { function serialize (line 126) | func serialize(request gosmpp.Request) ([]byte, error) { function deserialize (line 141) | func deserialize(bRequest []byte) (request gosmpp.Request, err error) { type requestGob (line 163) | type requestGob struct FILE: example/transeiver_with_custom_store/main.go function main (line 15) | func main() { function sendingAndReceiveSMS (line 24) | func sendingAndReceiveSMS(wg *sync.WaitGroup) { function handleExpirePduRequest (line 101) | func handleExpirePduRequest() func(pdu.PDU) bool { function handleOnClosePduRequest (line 123) | func handleOnClosePduRequest() func(pdu.PDU) { function handleExpectedPduResponse (line 141) | func handleExpectedPduResponse() func(response gosmpp.Response) { function handleReceivedPduRequest (line 160) | func handleReceivedPduRequest() func(pdu.PDU) (pdu.PDU, bool) { function newSubmitSM (line 189) | func newSubmitSM() *pdu.SubmitSM { FILE: example/transeiver_with_request_window_and_custom_submitSm/CustomSubmitSM.go type CustomSubmitSM (line 12) | type CustomSubmitSM struct function newCustomSubmitSM (line 19) | func newCustomSubmitSM() CustomSubmitSM { FILE: example/transeiver_with_request_window_and_custom_submitSm/main.go function main (line 15) | func main() { function sendingAndReceiveSMS (line 24) | func sendingAndReceiveSMS(wg *sync.WaitGroup) { function handleExpirePduRequest (line 99) | func handleExpirePduRequest() func(pdu.PDU) bool { function handleOnClosePduRequest (line 120) | func handleOnClosePduRequest() func(pdu.PDU) { function handleExpectedPduResponse (line 138) | func handleExpectedPduResponse() func(response gosmpp.Response) { function handleReceivedPduRequest (line 157) | func handleReceivedPduRequest() func(pdu.PDU) (pdu.PDU, bool) { function newSubmitSM (line 186) | func newSubmitSM() *pdu.SubmitSM { FILE: pdu/Address.go type Address (line 10) | type Address struct method Unmarshal (line 41) | func (c *Address) Unmarshal(b *ByteBuffer) (err error) { method Marshal (line 51) | func (c *Address) Marshal(b *ByteBuffer) { method SetTon (line 60) | func (c *Address) SetTon(ton byte) { method SetNpi (line 65) | func (c *Address) SetNpi(npi byte) { method SetAddress (line 70) | func (c *Address) SetAddress(addr string) (err error) { method Ton (line 80) | func (c Address) Ton() byte { method Npi (line 85) | func (c Address) Npi() byte { method Address (line 90) | func (c Address) Address() string { method String (line 95) | func (c Address) String() string { function NewAddress (line 17) | func NewAddress() Address { function NewAddressWithAddr (line 22) | func NewAddressWithAddr(addr string) (a Address, err error) { function NewAddressWithTonNpi (line 29) | func NewAddressWithTonNpi(ton, npi byte) Address { function NewAddressWithTonNpiAddr (line 34) | func NewAddressWithTonNpiAddr(ton, npi byte, addr string) (a Address, er... FILE: pdu/AddressRange.go type AddressRange (line 6) | type AddressRange struct method Unmarshal (line 37) | func (c *AddressRange) Unmarshal(b *ByteBuffer) (err error) { method Marshal (line 47) | func (c *AddressRange) Marshal(b *ByteBuffer) { function NewAddressRange (line 13) | func NewAddressRange() AddressRange { function NewAddressRangeWithAddr (line 18) | func NewAddressRangeWithAddr(addr string) AddressRange { function NewAddressRangeWithTonNpi (line 25) | func NewAddressRangeWithTonNpi(ton, npi byte) AddressRange { function NewAddressRangeWithTonNpiAddr (line 30) | func NewAddressRangeWithTonNpiAddr(ton, npi byte, addr string) AddressRa... FILE: pdu/AddressRange_test.go function TestAddressRange (line 9) | func TestAddressRange(t *testing.T) { FILE: pdu/Address_test.go function TestAddress (line 9) | func TestAddress(t *testing.T) { FILE: pdu/AlertNotification.go type AlertNotification (line 10) | type AlertNotification struct method CanResponse (line 26) | func (a *AlertNotification) CanResponse() bool { method GetResponse (line 31) | func (a *AlertNotification) GetResponse() PDU { method Marshal (line 36) | func (a *AlertNotification) Marshal(b *ByteBuffer) { method Unmarshal (line 44) | func (a *AlertNotification) Unmarshal(b *ByteBuffer) error { function NewAlertNotification (line 17) | func NewAlertNotification() PDU { FILE: pdu/AlertNotification_test.go function TestAlertNotification (line 11) | func TestAlertNotification(t *testing.T) { FILE: pdu/BindRequest.go type BindingType (line 8) | type BindingType constant Receiver (line 12) | Receiver BindingType = iota constant Transceiver (line 14) | Transceiver constant Transmitter (line 16) | Transmitter type BindRequest (line 20) | type BindRequest struct method CanResponse (line 72) | func (b *BindRequest) CanResponse() bool { method GetResponse (line 77) | func (b *BindRequest) GetResponse() PDU { method Marshal (line 82) | func (b *BindRequest) Marshal(w *ByteBuffer) { method Unmarshal (line 95) | func (b *BindRequest) Unmarshal(w *ByteBuffer) error { function NewBindRequest (line 31) | func NewBindRequest(t BindingType) (b *BindRequest) { function NewBindTransmitter (line 57) | func NewBindTransmitter() PDU { function NewBindTransceiver (line 62) | func NewBindTransceiver() PDU { function NewBindReceiver (line 67) | func NewBindReceiver() PDU { FILE: pdu/BindRequest_test.go function TestBindRequest (line 11) | func TestBindRequest(t *testing.T) { FILE: pdu/BindResponse.go type BindResp (line 8) | type BindResp struct method CanResponse (line 62) | func (c *BindResp) CanResponse() bool { method GetResponse (line 67) | func (c *BindResp) GetResponse() PDU { method Marshal (line 72) | func (c *BindResp) Marshal(b *ByteBuffer) { method Unmarshal (line 81) | func (c *BindResp) Unmarshal(b *ByteBuffer) error { function NewBindResp (line 14) | func NewBindResp(req BindRequest) (c *BindResp) { function NewBindTransmitterResp (line 35) | func NewBindTransmitterResp() PDU { function NewBindTransceiverResp (line 44) | func NewBindTransceiverResp() PDU { function NewBindReceiverResp (line 53) | func NewBindReceiverResp() PDU { FILE: pdu/BindResponse_test.go function TestBindResponse (line 11) | func TestBindResponse(t *testing.T) { FILE: pdu/Buffer.go constant SizeByte (line 13) | SizeByte = 1 constant SizeShort (line 16) | SizeShort = 2 constant SizeInt (line 19) | SizeInt = 4 constant SizeLong (line 22) | SizeLong = 8 type ByteBuffer (line 33) | type ByteBuffer struct method ReadN (line 46) | func (c *ByteBuffer) ReadN(n int) (r []byte, err error) { method ReadShort (line 59) | func (c *ByteBuffer) ReadShort() (r int16, err error) { method WriteShort (line 68) | func (c *ByteBuffer) WriteShort(v int16) { method ReadInt (line 75) | func (c *ByteBuffer) ReadInt() (r int32, err error) { method WriteInt (line 84) | func (c *ByteBuffer) WriteInt(v int32) { method WriteBuffer (line 91) | func (c *ByteBuffer) WriteBuffer(d *ByteBuffer) { method writeString (line 97) | func (c *ByteBuffer) writeString(st string, isCString bool, enc data.E... method WriteCString (line 113) | func (c *ByteBuffer) WriteCString(s string) error { method WriteCStringWithEnc (line 118) | func (c *ByteBuffer) WriteCStringWithEnc(s string, enc data.Encoding) ... method ReadCString (line 123) | func (c *ByteBuffer) ReadCString() (st string, err error) { method HexDump (line 132) | func (c *ByteBuffer) HexDump() string { function NewBuffer (line 38) | func NewBuffer(inp []byte) *ByteBuffer { FILE: pdu/Buffer_test.go function TestBuffer (line 12) | func TestBuffer(t *testing.T) { FILE: pdu/CancelSM.go type CancelSM (line 10) | type CancelSM struct method CanResponse (line 32) | func (c *CancelSM) CanResponse() bool { method GetResponse (line 37) | func (c *CancelSM) GetResponse() PDU { method Marshal (line 42) | func (c *CancelSM) Marshal(b *ByteBuffer) { method Unmarshal (line 54) | func (c *CancelSM) Unmarshal(b *ByteBuffer) error { function NewCancelSM (line 19) | func NewCancelSM() PDU { FILE: pdu/CancelSMResp.go type CancelSMResp (line 8) | type CancelSMResp struct method CanResponse (line 31) | func (c *CancelSMResp) CanResponse() bool { method GetResponse (line 36) | func (c *CancelSMResp) GetResponse() PDU { method Marshal (line 41) | func (c *CancelSMResp) Marshal(b *ByteBuffer) { method Unmarshal (line 46) | func (c *CancelSMResp) Unmarshal(b *ByteBuffer) error { function NewCancelSMResp (line 13) | func NewCancelSMResp() PDU { function NewCancelSMRespFromReq (line 22) | func NewCancelSMRespFromReq(req *CancelSM) PDU { FILE: pdu/CancelSMResp_test.go function TestCancelSMResp (line 11) | func TestCancelSMResp(t *testing.T) { FILE: pdu/CancelSM_test.go function TestCancelSM (line 11) | func TestCancelSM(t *testing.T) { FILE: pdu/DataSM.go type DataSM (line 9) | type DataSM struct method CanResponse (line 35) | func (c *DataSM) CanResponse() bool { method GetResponse (line 40) | func (c *DataSM) GetResponse() PDU { method Marshal (line 45) | func (c *DataSM) Marshal(b *ByteBuffer) { method Unmarshal (line 59) | func (c *DataSM) Unmarshal(b *ByteBuffer) error { function NewDataSM (line 20) | func NewDataSM() PDU { FILE: pdu/DataSMResp.go type DataSMResp (line 8) | type DataSMResp struct method CanResponse (line 33) | func (c *DataSMResp) CanResponse() bool { method GetResponse (line 38) | func (c *DataSMResp) GetResponse() PDU { method Marshal (line 43) | func (c *DataSMResp) Marshal(b *ByteBuffer) { method Unmarshal (line 52) | func (c *DataSMResp) Unmarshal(b *ByteBuffer) error { function NewDataSMResp (line 14) | func NewDataSMResp() PDU { function NewDataSMRespFromReq (line 24) | func NewDataSMRespFromReq(req *DataSM) PDU { FILE: pdu/DataSMResp_test.go function TestDataSMResp (line 11) | func TestDataSMResp(t *testing.T) { FILE: pdu/DataSM_test.go function TestDataSM (line 11) | func TestDataSM(t *testing.T) { FILE: pdu/DeliverSM.go type DeliverSM (line 9) | type DeliverSM struct method CanResponse (line 46) | func (c *DeliverSM) CanResponse() bool { method GetResponse (line 51) | func (c *DeliverSM) GetResponse() PDU { method Marshal (line 56) | func (c *DeliverSM) Marshal(b *ByteBuffer) { method Unmarshal (line 75) | func (c *DeliverSM) Unmarshal(b *ByteBuffer) error { function NewDeliverSM (line 25) | func NewDeliverSM() PDU { FILE: pdu/DeliverSMResp.go type DeliverSMResp (line 8) | type DeliverSMResp struct method CanResponse (line 33) | func (c *DeliverSMResp) CanResponse() bool { method GetResponse (line 38) | func (c *DeliverSMResp) GetResponse() PDU { method Marshal (line 43) | func (c *DeliverSMResp) Marshal(b *ByteBuffer) { method Unmarshal (line 52) | func (c *DeliverSMResp) Unmarshal(b *ByteBuffer) error { function NewDeliverSMResp (line 14) | func NewDeliverSMResp() PDU { function NewDeliverSMRespFromReq (line 24) | func NewDeliverSMRespFromReq(req *DeliverSM) PDU { FILE: pdu/DeliverSMResp_test.go function TestDeliverSMResp (line 11) | func TestDeliverSMResp(t *testing.T) { FILE: pdu/DeliverSM_test.go function TestDeliverSM (line 11) | func TestDeliverSM(t *testing.T) { function TestDeliverSMwithUDH (line 43) | func TestDeliverSMwithUDH(t *testing.T) { FILE: pdu/DestinationAddress.go type DestinationAddress (line 10) | type DestinationAddress struct method Unmarshal (line 23) | func (c *DestinationAddress) Unmarshal(b *ByteBuffer) (err error) { method Marshal (line 42) | func (c *DestinationAddress) Marshal(b *ByteBuffer) { method Address (line 55) | func (c *DestinationAddress) Address() Address { method DistributionList (line 60) | func (c *DestinationAddress) DistributionList() DistributionList { method SetAddress (line 65) | func (c *DestinationAddress) SetAddress(addr Address) { method SetDistributionList (line 71) | func (c *DestinationAddress) SetDistributionList(list DistributionList) { method HasValue (line 77) | func (c *DestinationAddress) HasValue() bool { method IsAddress (line 82) | func (c *DestinationAddress) IsAddress() bool { method IsDistributionList (line 87) | func (c *DestinationAddress) IsDistributionList() bool { function NewDestinationAddress (line 17) | func NewDestinationAddress() (c DestinationAddress) { type DestinationAddresses (line 92) | type DestinationAddresses struct method Add (line 103) | func (c *DestinationAddresses) Add(addresses ...DestinationAddress) { method Get (line 108) | func (c *DestinationAddresses) Get() []DestinationAddress { method Unmarshal (line 113) | func (c *DestinationAddresses) Unmarshal(b *ByteBuffer) (err error) { method Marshal (line 129) | func (c *DestinationAddresses) Marshal(b *ByteBuffer) { function NewDestinationAddresses (line 97) | func NewDestinationAddresses() (u DestinationAddresses) { FILE: pdu/DestinationAddress_test.go function TestDestinationAddress (line 11) | func TestDestinationAddress(t *testing.T) { FILE: pdu/DistributionList.go type DistributionList (line 10) | type DistributionList struct method Unmarshal (line 21) | func (c *DistributionList) Unmarshal(b *ByteBuffer) (err error) { method Marshal (line 27) | func (c *DistributionList) Marshal(b *ByteBuffer) { method SetName (line 34) | func (c *DistributionList) SetName(name string) (err error) { method Name (line 44) | func (c DistributionList) Name() string { function NewDistributionList (line 15) | func NewDistributionList(name string) (c DistributionList, err error) { FILE: pdu/DistributionList_test.go function TestDistributionList (line 9) | func TestDistributionList(t *testing.T) { FILE: pdu/EnquireLink.go type EnquireLink (line 13) | type EnquireLink struct method CanResponse (line 27) | func (c *EnquireLink) CanResponse() bool { method GetResponse (line 32) | func (c *EnquireLink) GetResponse() PDU { method Marshal (line 37) | func (c *EnquireLink) Marshal(b *ByteBuffer) { method Unmarshal (line 42) | func (c *EnquireLink) Unmarshal(b *ByteBuffer) error { function NewEnquireLink (line 18) | func NewEnquireLink() PDU { FILE: pdu/EnquireLinkResp.go type EnquireLinkResp (line 8) | type EnquireLinkResp struct method CanResponse (line 31) | func (c *EnquireLinkResp) CanResponse() bool { method GetResponse (line 36) | func (c *EnquireLinkResp) GetResponse() PDU { method Marshal (line 41) | func (c *EnquireLinkResp) Marshal(b *ByteBuffer) { method Unmarshal (line 46) | func (c *EnquireLinkResp) Unmarshal(b *ByteBuffer) error { function NewEnquireLinkResp (line 13) | func NewEnquireLinkResp() PDU { function NewEnquireLinkRespFromReq (line 22) | func NewEnquireLinkRespFromReq(req *EnquireLink) PDU { FILE: pdu/EnquireLinkResp_test.go function TestEnquireLinkResp (line 11) | func TestEnquireLinkResp(t *testing.T) { FILE: pdu/EnquireLink_test.go function TestEnquireLink (line 11) | func TestEnquireLink(t *testing.T) { FILE: pdu/GenericNack.go type GenericNack (line 17) | type GenericNack struct method CanResponse (line 31) | func (c *GenericNack) CanResponse() bool { method GetResponse (line 36) | func (c *GenericNack) GetResponse() PDU { method Marshal (line 41) | func (c *GenericNack) Marshal(b *ByteBuffer) { method Unmarshal (line 46) | func (c *GenericNack) Unmarshal(b *ByteBuffer) error { function NewGenericNack (line 22) | func NewGenericNack() PDU { FILE: pdu/GenericNack_test.go function TestGNack (line 10) | func TestGNack(t *testing.T) { FILE: pdu/Outbind.go type Outbind (line 8) | type Outbind struct method CanResponse (line 24) | func (c *Outbind) CanResponse() bool { method GetResponse (line 29) | func (c *Outbind) GetResponse() PDU { method Marshal (line 34) | func (c *Outbind) Marshal(b *ByteBuffer) { method Unmarshal (line 44) | func (c *Outbind) Unmarshal(b *ByteBuffer) error { function NewOutbind (line 15) | func NewOutbind() PDU { FILE: pdu/Outbind_test.go function TestOutbind (line 11) | func TestOutbind(t *testing.T) { FILE: pdu/PDU.go type PDU (line 11) | type PDU interface type base (line 49) | type base struct method GetHeader (line 61) | func (c *base) GetHeader() Header { method unmarshal (line 65) | func (c *base) unmarshal(b *ByteBuffer, bodyReader func(*ByteBuffer) e... method unmarshalOptionalParam (line 107) | func (c *base) unmarshalOptionalParam(optParam []byte) (err error) { method marshal (line 121) | func (c *base) marshal(b *ByteBuffer, bodyWriter func(*ByteBuffer)) { method RegisterOptionalParam (line 143) | func (c *base) RegisterOptionalParam(tlv Field) { method IsOk (line 148) | func (c *base) IsOk() bool { method IsGNack (line 153) | func (c *base) IsGNack() bool { function newBase (line 54) | func newBase() (v base) { function Parse (line 158) | func Parse(r io.Reader) (pdu PDU, err error) { FILE: pdu/PDUFactory.go type pduGenerator (line 8) | type pduGenerator function CreatePDUFromCmdID (line 41) | func CreatePDUFromCmdID(cmdID data.CommandIDType) (PDU, error) { FILE: pdu/PDUFactory_test.go function TestInvalidCmdID (line 9) | func TestInvalidCmdID(t *testing.T) { FILE: pdu/PDUHeader.go function nextSequenceNumber (line 10) | func nextSequenceNumber(s *int32) (v int32) { type Header (line 22) | type Header struct method Unmarshal (line 39) | func (c *Header) Unmarshal(b *ByteBuffer) (err error) { method AssignSequenceNumber (line 58) | func (c *Header) AssignSequenceNumber() { method ResetSequenceNumber (line 63) | func (c *Header) ResetSequenceNumber() { method GetSequenceNumber (line 68) | func (c *Header) GetSequenceNumber() int32 { method SetSequenceNumber (line 73) | func (c *Header) SetSequenceNumber(v int32) { method Marshal (line 78) | func (c *Header) Marshal(b *ByteBuffer) { function ParseHeader (line 30) | func ParseHeader(v [16]byte) (h Header) { FILE: pdu/PDUHeader_test.go function TestNextSeq (line 10) | func TestNextSeq(t *testing.T) { FILE: pdu/PDU_test.go function TestParsePDU (line 11) | func TestParsePDU(t *testing.T) { FILE: pdu/QuerySM.go type QuerySM (line 11) | type QuerySM struct method CanResponse (line 27) | func (c *QuerySM) CanResponse() bool { method GetResponse (line 32) | func (c *QuerySM) GetResponse() PDU { method Marshal (line 37) | func (c *QuerySM) Marshal(b *ByteBuffer) { method Unmarshal (line 47) | func (c *QuerySM) Unmarshal(b *ByteBuffer) error { function NewQuerySM (line 18) | func NewQuerySM() PDU { FILE: pdu/QuerySMResp.go type QuerySMResp (line 8) | type QuerySMResp struct method CanResponse (line 38) | func (c *QuerySMResp) CanResponse() bool { method GetResponse (line 43) | func (c *QuerySMResp) GetResponse() PDU { method Marshal (line 48) | func (c *QuerySMResp) Marshal(b *ByteBuffer) { method Unmarshal (line 60) | func (c *QuerySMResp) Unmarshal(b *ByteBuffer) error { function NewQuerySMResp (line 17) | func NewQuerySMResp() PDU { function NewQuerySMRespFromReq (line 29) | func NewQuerySMRespFromReq(req *QuerySM) PDU { FILE: pdu/QuerySMResp_test.go function TestQuerySMResp (line 11) | func TestQuerySMResp(t *testing.T) { FILE: pdu/QuerySM_test.go function TestQuerySM (line 11) | func TestQuerySM(t *testing.T) { FILE: pdu/ReplaceSM.go type ReplaceSM (line 11) | type ReplaceSM struct method CanResponse (line 38) | func (c *ReplaceSM) CanResponse() bool { method GetResponse (line 43) | func (c *ReplaceSM) GetResponse() PDU { method Marshal (line 48) | func (c *ReplaceSM) Marshal(b *ByteBuffer) { method Unmarshal (line 62) | func (c *ReplaceSM) Unmarshal(b *ByteBuffer) error { function NewReplaceSM (line 22) | func NewReplaceSM() PDU { FILE: pdu/ReplaceSMResp.go type ReplaceSMResp (line 8) | type ReplaceSMResp struct method CanResponse (line 31) | func (c *ReplaceSMResp) CanResponse() bool { method GetResponse (line 36) | func (c *ReplaceSMResp) GetResponse() PDU { method Marshal (line 41) | func (c *ReplaceSMResp) Marshal(b *ByteBuffer) { method Unmarshal (line 46) | func (c *ReplaceSMResp) Unmarshal(b *ByteBuffer) error { function NewReplaceSMResp (line 13) | func NewReplaceSMResp() PDU { function NewReplaceSMRespFromReq (line 22) | func NewReplaceSMRespFromReq(req *ReplaceSM) PDU { FILE: pdu/ReplaceSMResp_test.go function TestReplaceSMResp (line 11) | func TestReplaceSMResp(t *testing.T) { FILE: pdu/ReplaceSM_test.go function TestReplaceSM (line 11) | func TestReplaceSM(t *testing.T) { FILE: pdu/ShortMessage.go type ShortMessage (line 13) | type ShortMessage struct method SetMessageWithEncoding (line 61) | func (c *ShortMessage) SetMessageWithEncoding(message string, enc data... method SetLongMessageWithEnc (line 86) | func (c *ShortMessage) SetLongMessageWithEnc(message string, enc data.... method UDH (line 93) | func (c *ShortMessage) UDH() UDH { method SetUDH (line 99) | func (c *ShortMessage) SetUDH(udh UDH) { method SetMessageDataWithEncoding (line 104) | func (c *ShortMessage) SetMessageDataWithEncoding(d []byte, enc data.E... method GetMessageData (line 115) | func (c *ShortMessage) GetMessageData() (d []byte, err error) { method GetMessage (line 120) | func (c *ShortMessage) GetMessage() (st string, err error) { method GetMessageWithEncoding (line 130) | func (c *ShortMessage) GetMessageWithEncoding(enc data.Encoding) (st s... method split (line 142) | func (c *ShortMessage) split() (multiSM []*ShortMessage, err error) { method Marshal (line 195) | func (c *ShortMessage) Marshal(b *ByteBuffer) { method Unmarshal (line 236) | func (c *ShortMessage) Unmarshal(b *ByteBuffer, udhi bool) (err error) { method Encoding (line 282) | func (c *ShortMessage) Encoding() data.Encoding { function NewShortMessage (line 23) | func NewShortMessage(message string) (s ShortMessage, err error) { function NewShortMessageWithEncoding (line 29) | func NewShortMessageWithEncoding(message string, enc data.Encoding) (s S... function NewBinaryShortMessage (line 35) | func NewBinaryShortMessage(messageData []byte) (s ShortMessage, err erro... function NewBinaryShortMessageWithEncoding (line 41) | func NewBinaryShortMessageWithEncoding(messageData []byte, enc data.Enco... function NewLongMessage (line 47) | func NewLongMessage(message string) (s []*ShortMessage, err error) { function NewLongMessageWithEncoding (line 52) | func NewLongMessageWithEncoding(message string, enc data.Encoding) (s []... function getRefNum (line 287) | func getRefNum() uint32 { FILE: pdu/ShortMessage_test.go type customEncoder (line 12) | type customEncoder struct method Encode (line 14) | func (*customEncoder) Encode(str string) ([]byte, error) { method Decode (line 18) | func (*customEncoder) Decode(data []byte) (string, error) { function TestShortMessage (line 22) | func TestShortMessage(t *testing.T) { FILE: pdu/SubmitMulti.go type SubmitMulti (line 10) | type SubmitMulti struct method CanResponse (line 47) | func (c *SubmitMulti) CanResponse() bool { method GetResponse (line 52) | func (c *SubmitMulti) GetResponse() PDU { method Marshal (line 57) | func (c *SubmitMulti) Marshal(b *ByteBuffer) { method Unmarshal (line 76) | func (c *SubmitMulti) Unmarshal(b *ByteBuffer) error { function NewSubmitMulti (line 26) | func NewSubmitMulti() PDU { FILE: pdu/SubmitMultiResp.go type SubmitMultiResp (line 8) | type SubmitMultiResp struct method CanResponse (line 35) | func (c *SubmitMultiResp) CanResponse() bool { method GetResponse (line 40) | func (c *SubmitMultiResp) GetResponse() PDU { method Marshal (line 45) | func (c *SubmitMultiResp) Marshal(b *ByteBuffer) { method Unmarshal (line 55) | func (c *SubmitMultiResp) Unmarshal(b *ByteBuffer) error { function NewSubmitMultiResp (line 15) | func NewSubmitMultiResp() PDU { function NewSubmitMultiRespFromReq (line 26) | func NewSubmitMultiRespFromReq(req *SubmitMulti) PDU { FILE: pdu/SubmitMultiResp_test.go function TestSubmitMultiResp (line 11) | func TestSubmitMultiResp(t *testing.T) { FILE: pdu/SubmitMulti_test.go function TestSubmitMulti (line 11) | func TestSubmitMulti(t *testing.T) { function TestSubmitMultiwithUDH (line 61) | func TestSubmitMultiwithUDH(t *testing.T) { FILE: pdu/SubmitSM.go type SubmitSM (line 10) | type SubmitSM struct method ShouldSplit (line 47) | func (c *SubmitSM) ShouldSplit() bool { method CanResponse (line 53) | func (c *SubmitSM) CanResponse() bool { method GetResponse (line 58) | func (c *SubmitSM) GetResponse() PDU { method Split (line 66) | func (c *SubmitSM) Split() (multiSubSM []*SubmitSM, err error) { method Marshal (line 99) | func (c *SubmitSM) Marshal(b *ByteBuffer) { method Unmarshal (line 118) | func (c *SubmitSM) Unmarshal(b *ByteBuffer) error { function NewSubmitSM (line 26) | func NewSubmitSM() PDU { FILE: pdu/SubmitSMResp.go type SubmitSMResp (line 10) | type SubmitSMResp struct method CanResponse (line 35) | func (c *SubmitSMResp) CanResponse() bool { method GetResponse (line 40) | func (c *SubmitSMResp) GetResponse() PDU { method Marshal (line 45) | func (c *SubmitSMResp) Marshal(b *ByteBuffer) { method Unmarshal (line 54) | func (c *SubmitSMResp) Unmarshal(b *ByteBuffer) error { function NewSubmitSMResp (line 16) | func NewSubmitSMResp() PDU { function NewSubmitSMRespFromReq (line 26) | func NewSubmitSMRespFromReq(req *SubmitSM) PDU { FILE: pdu/SubmitSMResp_test.go function TestSubmitSMResp (line 11) | func TestSubmitSMResp(t *testing.T) { FILE: pdu/SubmitSM_test.go function TestSubmitSM (line 11) | func TestSubmitSM(t *testing.T) { FILE: pdu/TLV.go type Tag (line 10) | type Tag method Hex (line 13) | func (t Tag) Hex() string { constant TagDestAddrSubunit (line 21) | TagDestAddrSubunit Tag = 0x0005 constant TagDestNetworkType (line 22) | TagDestNetworkType Tag = 0x0006 constant TagDestBearerType (line 23) | TagDestBearerType Tag = 0x0007 constant TagDestTelematicsID (line 24) | TagDestTelematicsID Tag = 0x0008 constant TagSourceAddrSubunit (line 25) | TagSourceAddrSubunit Tag = 0x000D constant TagSourceNetworkType (line 26) | TagSourceNetworkType Tag = 0x000E constant TagSourceBearerType (line 27) | TagSourceBearerType Tag = 0x000F constant TagSourceTelematicsID (line 28) | TagSourceTelematicsID Tag = 0x0010 constant TagQosTimeToLive (line 29) | TagQosTimeToLive Tag = 0x0017 constant TagPayloadType (line 30) | TagPayloadType Tag = 0x0019 constant TagAdditionalStatusInfoText (line 31) | TagAdditionalStatusInfoText Tag = 0x001D constant TagReceiptedMessageID (line 32) | TagReceiptedMessageID Tag = 0x001E constant TagMsMsgWaitFacilities (line 33) | TagMsMsgWaitFacilities Tag = 0x0030 constant TagPrivacyIndicator (line 34) | TagPrivacyIndicator Tag = 0x0201 constant TagSourceSubaddress (line 35) | TagSourceSubaddress Tag = 0x0202 constant TagDestSubaddress (line 36) | TagDestSubaddress Tag = 0x0203 constant TagUserMessageReference (line 37) | TagUserMessageReference Tag = 0x0204 constant TagUserResponseCode (line 38) | TagUserResponseCode Tag = 0x0205 constant TagSourcePort (line 39) | TagSourcePort Tag = 0x020A constant TagDestinationPort (line 40) | TagDestinationPort Tag = 0x020B constant TagSarMsgRefNum (line 41) | TagSarMsgRefNum Tag = 0x020C constant TagLanguageIndicator (line 42) | TagLanguageIndicator Tag = 0x020D constant TagSarTotalSegments (line 43) | TagSarTotalSegments Tag = 0x020E constant TagSarSegmentSeqnum (line 44) | TagSarSegmentSeqnum Tag = 0x020F constant TagCallbackNumPresInd (line 45) | TagCallbackNumPresInd Tag = 0x0302 constant TagCallbackNumAtag (line 46) | TagCallbackNumAtag Tag = 0x0303 constant TagNumberOfMessages (line 47) | TagNumberOfMessages Tag = 0x0304 constant TagCallbackNum (line 48) | TagCallbackNum Tag = 0x0381 constant TagDpfResult (line 49) | TagDpfResult Tag = 0x0420 constant TagSetDpf (line 50) | TagSetDpf Tag = 0x0421 constant TagMsAvailabilityStatus (line 51) | TagMsAvailabilityStatus Tag = 0x0422 constant TagNetworkErrorCode (line 52) | TagNetworkErrorCode Tag = 0x0423 constant TagMessagePayload (line 53) | TagMessagePayload Tag = 0x0424 constant TagDeliveryFailureReason (line 54) | TagDeliveryFailureReason Tag = 0x0425 constant TagMoreMessagesToSend (line 55) | TagMoreMessagesToSend Tag = 0x0426 constant TagMessageStateOption (line 56) | TagMessageStateOption Tag = 0x0427 constant TagUssdServiceOp (line 57) | TagUssdServiceOp Tag = 0x0501 constant TagDisplayTime (line 58) | TagDisplayTime Tag = 0x1201 constant TagSmsSignal (line 59) | TagSmsSignal Tag = 0x1203 constant TagMsValidity (line 60) | TagMsValidity Tag = 0x1204 constant TagAlertOnMessageDelivery (line 61) | TagAlertOnMessageDelivery Tag = 0x130C constant TagItsReplyType (line 62) | TagItsReplyType Tag = 0x1380 constant TagItsSessionInfo (line 63) | TagItsSessionInfo Tag = 0x1383 type Field (line 67) | type Field struct method String (line 73) | func (t *Field) String() string { method Marshal (line 81) | func (t *Field) Marshal(w *ByteBuffer) { method Unmarshal (line 92) | func (t *Field) Unmarshal(b *ByteBuffer) (err error) { FILE: pdu/UDH.go type UDH (line 16) | type UDH method UDHL (line 21) | func (u UDH) UDHL() (l int) { method MarshalBinary (line 50) | func (u UDH) MarshalBinary() (b []byte, err error) { method UnmarshalBinary (line 101) | func (u *UDH) UnmarshalBinary(src []byte) (int, error) { method FindInfoElement (line 142) | func (u UDH) FindInfoElement(id byte) (ie *InfoElement, found bool) { method GetConcatInfo (line 152) | func (u UDH) GetConcatInfo() (totalParts, partNum, mref byte, found bo... type InfoElement (line 171) | type InfoElement struct method UnmarshalBinary (line 189) | func (ie *InfoElement) UnmarshalBinary(src []byte) (int, error) { function NewIEConcatMessage (line 178) | func NewIEConcatMessage(totalParts, partNum, mref byte) InfoElement { FILE: pdu/UDH_test.go function TestUserDataHeader (line 9) | func TestUserDataHeader(t *testing.T) { FILE: pdu/Unbind.go type Unbind (line 10) | type Unbind struct method CanResponse (line 24) | func (c *Unbind) CanResponse() bool { method GetResponse (line 29) | func (c *Unbind) GetResponse() PDU { method Marshal (line 34) | func (c *Unbind) Marshal(b *ByteBuffer) { method Unmarshal (line 39) | func (c *Unbind) Unmarshal(b *ByteBuffer) error { function NewUnbind (line 15) | func NewUnbind() PDU { FILE: pdu/UnbindResp.go type UnbindResp (line 8) | type UnbindResp struct method CanResponse (line 31) | func (c *UnbindResp) CanResponse() bool { method GetResponse (line 36) | func (c *UnbindResp) GetResponse() PDU { method Marshal (line 41) | func (c *UnbindResp) Marshal(b *ByteBuffer) { method Unmarshal (line 46) | func (c *UnbindResp) Unmarshal(b *ByteBuffer) error { function NewUnbindResp (line 13) | func NewUnbindResp() PDU { function NewUnbindRespFromReq (line 22) | func NewUnbindRespFromReq(req *Unbind) PDU { FILE: pdu/UnbindResp_test.go function TestUnbindResp (line 11) | func TestUnbindResp(t *testing.T) { FILE: pdu/Unbind_test.go function TestUnbind (line 11) | func TestUnbind(t *testing.T) { FILE: pdu/UnsuccessSME.go type UnsuccessSME (line 8) | type UnsuccessSME struct method Unmarshal (line 40) | func (c *UnsuccessSME) Unmarshal(b *ByteBuffer) (err error) { method Marshal (line 52) | func (c *UnsuccessSME) Marshal(b *ByteBuffer) { method SetErrorStatusCode (line 58) | func (c *UnsuccessSME) SetErrorStatusCode(v data.CommandStatusType) { method ErrorStatusCode (line 63) | func (c *UnsuccessSME) ErrorStatusCode() data.CommandStatusType { function NewUnsuccessSME (line 14) | func NewUnsuccessSME() (c UnsuccessSME) { function NewUnsuccessSMEWithAddr (line 23) | func NewUnsuccessSMEWithAddr(addr string, status data.CommandStatusType)... function NewUnsuccessSMEWithTonNpi (line 32) | func NewUnsuccessSMEWithTonNpi(ton, npi byte, status data.CommandStatusT... type UnsuccessSMEs (line 68) | type UnsuccessSMEs struct method Add (line 79) | func (c *UnsuccessSMEs) Add(us ...UnsuccessSME) { method Get (line 84) | func (c *UnsuccessSMEs) Get() []UnsuccessSME { method Unmarshal (line 89) | func (c *UnsuccessSMEs) Unmarshal(b *ByteBuffer) (err error) { method Marshal (line 105) | func (c *UnsuccessSMEs) Marshal(b *ByteBuffer) { function NewUnsuccessSMEs (line 73) | func NewUnsuccessSMEs() (u UnsuccessSMEs) { FILE: pdu/UnsuccessSME_test.go function TestMalformUSME (line 9) | func TestMalformUSME(t *testing.T) { FILE: pdu/helper_test.go function fromHex (line 13) | func fromHex(h string) (v []byte) { function toHex (line 22) | func toHex(v []byte) (h string) { function validate (line 27) | func validate(t *testing.T, p PDU, hexValue string, expectCommandID data... function expectAfterParse (line 35) | func expectAfterParse(t *testing.T, b *ByteBuffer, expect PDU, expectCom... FILE: pkg.go type Transceiver (line 11) | type Transceiver interface type Transmitter (line 18) | type Transmitter interface type Receiver (line 25) | type Receiver interface type Settings (line 31) | type Settings struct type WindowedRequestTracking (line 89) | type WindowedRequestTracking struct FILE: receivable.go type receivable (line 12) | type receivable struct method close (line 33) | func (t *receivable) close(state State) (err error) { method closing (line 57) | func (t *receivable) closing(state State) { method start (line 63) | func (t *receivable) start() { method loop (line 71) | func (t *receivable) loop() { method handleWindowPdu (line 112) | func (t *receivable) handleWindowPdu(p pdu.PDU) (closing bool) { method handleAllPdu (line 176) | func (t *receivable) handleAllPdu(p pdu.PDU) (closing bool) { method handleOrClose (line 188) | func (t *receivable) handleOrClose(p pdu.PDU) (closing bool) { function newReceivable (line 22) | func newReceivable(conn *Connection, settings Settings, requestStore Req... FILE: receivable_test.go function TestReceive (line 14) | func TestReceive(t *testing.T) { function Test_receivable_handleAllPdu (line 49) | func Test_receivable_handleAllPdu(t1 *testing.T) { function receivableHandleAllPDU (line 121) | func receivableHandleAllPDU(t1 *testing.T) func(pdu.PDU) (pdu.PDU, bool) { function Test_receivable_handleOrClose (line 156) | func Test_receivable_handleOrClose(t1 *testing.T) { function Test_receivable_handleWindowPdu (line 212) | func Test_receivable_handleWindowPdu(t1 *testing.T) { FILE: request_store.go type Request (line 14) | type Request struct type Response (line 20) | type Response struct type RequestStore (line 26) | type RequestStore interface type DefaultStore (line 35) | type DefaultStore struct method Set (line 45) | func (s DefaultStore) Set(ctx context.Context, request Request) error { method Get (line 56) | func (s DefaultStore) Get(ctx context.Context, sequenceNumber int32) (... method List (line 66) | func (s DefaultStore) List(ctx context.Context) []Request { method Delete (line 75) | func (s DefaultStore) Delete(ctx context.Context, sequenceNumber int32... method Clear (line 85) | func (s DefaultStore) Clear(ctx context.Context) error { method Length (line 95) | func (s DefaultStore) Length(ctx context.Context) (int, error) { function NewDefaultStore (line 39) | func NewDefaultStore() DefaultStore { FILE: session.go type Session (line 19) | type Session struct method bound (line 110) | func (s *Session) bound() *transceivable { method Transmitter (line 116) | func (s *Session) Transmitter() Transmitter { method Receiver (line 121) | func (s *Session) Receiver() Receiver { method Transceiver (line 126) | func (s *Session) Transceiver() Transceiver { method GetWindowSize (line 130) | func (s *Session) GetWindowSize() (int, error) { method Close (line 142) | func (s *Session) Close() (err error) { method close (line 149) | func (s *Session) close() (err error) { method rebind (line 156) | func (s *Session) rebind() { type SessionOption (line 34) | type SessionOption function NewSession (line 44) | func NewSession(c Connector, settings Settings, rebindingInterval time.D... function WithRequestStore (line 104) | func WithRequestStore(store RequestStore) SessionOption { FILE: session_test.go function TestInvalidSessionSettings (line 10) | func TestInvalidSessionSettings(t *testing.T) { function TestGetWindowSize (line 27) | func TestGetWindowSize(t *testing.T) { FILE: state.go constant Alive (line 4) | Alive int32 = iota constant Closed (line 5) | Closed type State (line 9) | type State method String (line 35) | func (s *State) String() string { constant ExplicitClosing (line 14) | ExplicitClosing State = iota constant StoppingProcessOnly (line 17) | StoppingProcessOnly constant InvalidStreaming (line 24) | InvalidStreaming constant ConnectionIssue (line 28) | ConnectionIssue constant UnbindClosing (line 31) | UnbindClosing FILE: state_test.go function TestState_String (line 8) | func TestState_String(t *testing.T) { FILE: transceivable.go type transceivable (line 16) | type transceivable struct method start (line 98) | func (t *transceivable) start() { method SystemID (line 112) | func (t *transceivable) SystemID() string { method Close (line 117) | func (t *transceivable) Close() (err error) { method Submit (line 122) | func (t *transceivable) Submit(p pdu.PDU) error { method GetWindowSize (line 126) | func (t *transceivable) GetWindowSize() (int, error) { method windowCleanup (line 136) | func (t *transceivable) windowCleanup() { method closing (line 160) | func (t *transceivable) closing(state State) (err error) { type TransceivableOption (line 29) | type TransceivableOption function newTransceivable (line 31) | func newTransceivable(conn *Connection, settings Settings, requestStore ... FILE: transceivable_test.go function handlePDU (line 19) | func handlePDU(t *testing.T) func(pdu.PDU, bool) { function transceivableHandleAllPDU (line 50) | func transceivableHandleAllPDU(t *testing.T) func(pdu.PDU) (pdu.PDU, boo... function TestTRXSubmitSM (line 84) | func TestTRXSubmitSM(t *testing.T) { function TestTRXSubmitSM_with_OnAllPDU (line 141) | func TestTRXSubmitSM_with_OnAllPDU(t *testing.T) { function newSubmitSM (line 198) | func newSubmitSM(systemID string) *pdu.SubmitSM { function TestTRXSubmitSM_with_WindowConfig (line 222) | func TestTRXSubmitSM_with_WindowConfig(t *testing.T) { function TestTRXSubmitSM_with_WindowConfig_and_AutoRespond (line 288) | func TestTRXSubmitSM_with_WindowConfig_and_AutoRespond(t *testing.T) { function handleReceivedPduRequest (line 354) | func handleReceivedPduRequest(t *testing.T) func(pdu.PDU) (pdu.PDU, bool) { function handleExpectedPduResponse (line 384) | func handleExpectedPduResponse(t *testing.T) func(response Response) { function Test_newTransceivable (line 402) | func Test_newTransceivable(t *testing.T) { FILE: transmittable.go type transmittable (line 21) | type transmittable struct method close (line 47) | func (t *transmittable) close(state State) (err error) { method closing (line 99) | func (t *transmittable) closing(state State) { method Submit (line 106) | func (t *transmittable) Submit(p pdu.PDU) (err error) { method start (line 119) | func (t *transmittable) start() { method drain (line 134) | func (t *transmittable) drain() { method loop (line 139) | func (t *transmittable) loop() { method loopWithEnquireLink (line 152) | func (t *transmittable) loopWithEnquireLink() { method check (line 184) | func (t *transmittable) check(p pdu.PDU, n int, err error) (closing bo... method write (line 213) | func (t *transmittable) write(p pdu.PDU) (n int, err error) { function newTransmittable (line 34) | func newTransmittable(conn *Connection, settings Settings, requestStore ... function isAllowPDU (line 252) | func isAllowPDU(p pdu.PDU) bool { FILE: transmittable_test.go function TestTransmit (line 16) | func TestTransmit(t *testing.T) { function TestConcurrentSubmitClose (line 122) | func TestConcurrentSubmitClose(t *testing.T) { FILE: types.go type PDUCallback (line 8) | type PDUCallback type AllPDUCallback (line 14) | type AllPDUCallback type PDUErrorCallback (line 17) | type PDUErrorCallback type ErrorCallback (line 20) | type ErrorCallback type ClosedCallback (line 23) | type ClosedCallback type RebindCallback (line 26) | type RebindCallback