Table of Contents

Class TLVCollection

Namespace
Inetlab.SMPP.Common
Assembly
cs.temp.dll.dll
Collection of optional parameters in TLV format.
public class TLVCollection : List<TLV>
Inheritance
Object
TLVCollection

Constructors

TLVCollection()

public TLVCollection()

TLVCollection(EncodingMapper)

public TLVCollection(EncodingMapper mapper)

Parameters

mapper EncodingMapper

TLVCollection(SmppClientBase)

public TLVCollection(SmppClientBase client)

Parameters

client SmppClientBase

Properties

Item[OptionalTags]

public byte[] this[OptionalTags tag] { get; set; }

Parameters

tag OptionalTags

Property Value

Byte[]

Item[Int32]

public TLV this[int index] { get; set; }

Parameters

index Int32

Property Value

TLV

Item[UInt16]

public TLV this[ushort tag] { get; set; }

Parameters

tag UInt16

Property Value

TLV

Methods

Add(OptionalTags, Byte)

public void Add(OptionalTags tag, byte val)

Parameters

tag OptionalTags
val Byte

Add(OptionalTags, Byte[])

public void Add(OptionalTags tag, byte[] val)

Parameters

tag OptionalTags
val Byte[]

Add(OptionalTags, Int32)

public void Add(OptionalTags tag, int val)

Parameters

tag OptionalTags
val Int32

Add(OptionalTags, String)

public void Add(OptionalTags tag, string val)

Parameters

tag OptionalTags
val String

Add(OptionalTags, String, DataCodings)

public void Add(OptionalTags tag, string val, DataCodings dataCoding)

Parameters

tag OptionalTags
val String
dataCoding DataCodings

Add(OptionalTags, UInt16)

public void Add(OptionalTags tag, ushort val)

Parameters

tag OptionalTags
val UInt16

Add(OptionalTags, UInt32)

public void Add(OptionalTags tag, uint val)

Parameters

tag OptionalTags
val UInt32

Add(TLV)

public void Add(TLV tlv)

Parameters

tlv TLV

AddMessagePayload(Byte[])

public void AddMessagePayload(byte[] data)

Parameters

data Byte[]

AddMoreMessagesToSend(Boolean)

public void AddMoreMessagesToSend(bool val)

Parameters

val Boolean

AddSARReferenceNumber(UInt16)

public void AddSARReferenceNumber(ushort val)

Parameters

val UInt16

AddSARSequenceNumber(Byte)

public void AddSARSequenceNumber(byte val)

Parameters

val Byte

AddSARTotalSegments(Byte)

public void AddSARTotalSegments(byte val)

Parameters

val Byte