FileDocCategorySizeDatePackage
BinaryObject.javaAPI DocphoneME MR2 API (J2ME)2055Wed May 02 18:00:32 BST 2007com.sun.midp.io.j2me.cbs

BinaryObject

public class BinaryObject extends com.sun.midp.io.j2me.sms.BinaryObject
Implements a CBS binary message for the CBS message connection.

Fields Summary
Constructors Summary
public BinaryObject(String toAddress)
Constructs a message and initialize the target address.

param
toAddress The address of the recipient. May be null.

        super(toAddress);
    
Methods Summary
public java.util.DategetTimestamp()
Returns the time at which the message was sent.

return
Always returns null, since CBS messages do not support a time stamp.

        return null;
    
public voidsetTimeStamp()
Sets the time at which the message was sent.

throws
IllegalArgumentException Always thrown, since the time stamp is always null.

        throw new IllegalArgumentException("Cannot set time stamp.");