SmppClient component documentation

SmppClient Members

SmppClient overview

Public Instance Constructors

SmppClientOverloaded. Initializes a new instance of the SmppClient class.

Public Instance Properties

BindParams Gets or sets the initial parameters for the bind operation.
Connected Gets the state of the Smpp connection
Connection_Mode Gets or sets the comunication connection mode.
DefaultCodePage Gets or sets the default system code page
DefaultDataCoding Gets or sets the smpp default data coding
LastException Gets the last exception occurred in the component.
RemoteHost Gets or sets the host of the MC (Message Center, know too as SMSC).
RemotePort Gets or sets the destination port of the MC
TimeOut Gets or sets the timeout in milliseconds. When you execute a command, this will be the maximum time to wait the response.

Public Instance Methods

BindOverloaded. Register an instance of a SmppClient with the MC system.
Cancel_SmOverloaded. Cancel one or more previously submitted short messages that are pending delivery.
Data_SmOverloaded. Submit a mobile-terminated message. Data_sm is intended for packet-based applications such as WAP.
Enquire_LinkOverloaded. Provide a confidence- check of the communication path between a SmppClient and a MC.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetCodePage Gets the system code page for the current smpp data coding
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetShortMessage Gets the short message String from a Byte array
GetType (inherited from Object)Gets the Type of the current instance.
Query_SmOverloaded. Query the status of a previously submitted short message.
Replace_SmOverloaded. Replace a previously submitted short message that is pending delivery.
SetShortMessage Gets the short message Byte array from a String
Submit_SmOverloaded. Submit a short message to the MC for onward transmission to a specified short message entity .
ToString (inherited from Object)Returns a String that represents the current Object.
UnBindOverloaded. Deregister an instance of a SmppClient from the MC and close the connection. This method raise the evDisconnected event.

Public Instance Events

evAlert_Notification Occurs when the MC has detected that a particular mobile subscriber has become available.
evData_Sm Occurs when the MC route a short message to the SmppClient for delivery using the DATA_SM PDU.
evDeliver_Sm Occurs when the MC route a short message to the SmppClient for delivery.
evDisconnected Occurs when, for some reason (unbind or network failure) the TCP connection is closed.
evEnquire_Link Occurs when the MC check the state of the communication.
evUnBind Occurs when the instance of the SmppClient is deregistered from the MC.
evUnknown_Pdu Occurs when the SmppClient don't recognizes the PDU sent by the MC

See Also

SmppClient Class | Devshock.Protocol Namespace