SMSClient Object Overview
[Previous] [Main] [Next]

The SMSClient Object is the main object and handles all communication with the Gateway.

Methods:
Long      AddMessage(Message msg)
      SendMessages()
Boolean      SendSingleMessage(Message msg)
Long      SendSingleMessageReference(Message msg)
Double      GetBalance()


Properties:
String      AffiliateProgram
Boolean      BulkMode
Boolean      ListenForIncomingMessages
Long       LocalPort
String      Password
String      PrimaryGateway
String       SecondaryGateway *
String      SessionData
String       ProxyAddress
String      Username

Events:
      Status(Long code, String description, Long msgID)
      StatusReference(Long code, String description, Long msgID, Long msgRef)
      Error(Long code, String description)
      IncomingMessage(String text, String senderNumber)
      IncomingPremiumMessage(String text, String senderNumber, String Network)
      IncomingMessageReference(String State, String ReceiverNumber, Long msgRef)


*) Note: Not in use by the PSWinCom SMS Gateway at the time of writing. Reserved for future use.