com.signalsoftcorp.lst.client
Class WMP10MessagingResponse

java.lang.Object
  |
  +--com.signalsoftcorp.lst.client.Response
        |
        +--com.signalsoftcorp.lst.client.WMP10MessagingResponse

public class WMP10MessagingResponse
extends Response

An instance of this class is returned by a call to WMIMessaging.sendSmsMessage or WMIMessaging.sendWapMessage.

See 'See also' section below for possible response codes.

See Also:
Constants.OK, Constants.SYSTEM_FAILURE, Constants.INCORRECT_PASSWORD, Constants.CLIENT_NOT_FOUND, WMP10Constants.SUBSCRIBER_ERRORS

Constructor Summary
WMP10MessagingResponse()
           
WMP10MessagingResponse(int code)
           
WMP10MessagingResponse(int code, java.lang.String detail, WMP10SubscriberStatus[] subscriberStatus)
           
 
Method Summary
 WMP10SubscriberStatus[] getSubscriberStatus()
          An array of SusbcriberStatus instances that indicates whether a message was sent to a certain subscriber or not.
protected  void setDefaultDetail(int code)
           
 void setSubscriberStatus(WMP10SubscriberStatus[] ss)
           
 java.lang.String toString()
           
 
Methods inherited from class com.signalsoftcorp.lst.client.Response
getResponseCode, getResponseDetail, isOk, setResponseCode, setResponseDetail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WMP10MessagingResponse

public WMP10MessagingResponse()

WMP10MessagingResponse

public WMP10MessagingResponse(int code)

WMP10MessagingResponse

public WMP10MessagingResponse(int code,
                              java.lang.String detail,
                              WMP10SubscriberStatus[] subscriberStatus)
Method Detail

getSubscriberStatus

public WMP10SubscriberStatus[] getSubscriberStatus()
An array of SusbcriberStatus instances that indicates whether a message was sent to a certain subscriber or not. The length and order (of subscribers) will match the length and order of the subscribers provided in the messaging request.

setSubscriberStatus

public void setSubscriberStatus(WMP10SubscriberStatus[] ss)

toString

public java.lang.String toString()
Overrides:
toString in class Response

setDefaultDetail

protected void setDefaultDetail(int code)
Overrides:
setDefaultDetail in class Response
See Also:
Response.setDefaultDetail(int)


Copyright © SignalSoft Corp. All Rights Reserved.