org.marre.sms.transport.gsm.commands
Class PduSendMessageReq

java.lang.Object
  extended byorg.marre.sms.transport.gsm.commands.PduSendMessageReq

public class PduSendMessageReq
extends java.lang.Object

Represents a PDU mode Send Message Set request (AT+CMGS).

Version:
$Id: PduSendMessageReq.java,v 1.1 2005/11/26 16:38:50 c95men Exp $
Author:
Markus

Constructor Summary
PduSendMessageReq(byte[] smsPdu)
          Send message in PDU mode using default SMSC.
PduSendMessageReq(byte[] smscPdu, byte[] smsPdu)
          Send message in PDU mode.
 
Method Summary
 PduSendMessageRsp send(GsmComm comm)
          Sends the command and builds a response object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PduSendMessageReq

public PduSendMessageReq(byte[] smsPdu)
Send message in PDU mode using default SMSC.

Parameters:
smsPdu - pdu for the sms data.

PduSendMessageReq

public PduSendMessageReq(byte[] smscPdu,
                         byte[] smsPdu)
Send message in PDU mode.

Parameters:
smscPdu - pdu for the SMSC address.
smsPdu - pdu for the sms data.
Method Detail

send

public PduSendMessageRsp send(GsmComm comm)
                       throws GsmException,
                              java.io.IOException
Sends the command and builds a response object.

Parameters:
comm -
Returns:
Throws:
GsmException
java.io.IOException


Copyright © 2002-2005 Markus Eriksson. All Rights Reserved.