FileDocCategorySizeDatePackage
SystemServiceMessage.javaAPI DocphoneME MR2 API (J2ME)2038Wed May 02 18:00:10 BST 2007com.sun.midp.services

SystemServiceMessage

public abstract class SystemServiceMessage extends Object
Message is what is passed between service and client. At low level message body is just array of bytes. It is also possible to write/extract a sequence of primitive types from the message. In other words, message body can be seen as data stream from which you can read/write primitive types.

Fields Summary
Constructors Summary
Methods Summary
public abstract java.io.DataInputgetDataInput()
Gets message body as DataInput.

return
DataInput interface for reading data from message

public abstract java.io.DataOutputgetDataOutput()
Gets message body as DataOutput.

return
DataOutput interface for writing data to message

public static com.sun.midp.services.SystemServiceMessagenewMessage()
Creates an empty message.

return
empty message

        return new SystemServiceWriteMessage();