org.mgif.connectivity.async
Interface MessageFactory


public interface MessageFactory

Factory for creating messages of different types.

The implementation of the factory may or may not actually generate messages of all types, depending on available connections and framework configuration.

See Also:
MGIF

Method Summary
 BinaryMessage newBinaryMessage()
          Creates a new binary message.
 MMMessage newMMMessage()
          Creates a new multimedia message.
 ServiceIndicationMessage newServiceIndicationMessage()
          Creates a new service indication message.
 TextMessage newTextMessage()
          Creates a new text message.
 

Method Detail

newBinaryMessage

public BinaryMessage newBinaryMessage()
Creates a new binary message.
Returns:
a new binary message or null

newMMMessage

public MMMessage newMMMessage()
Creates a new multimedia message.
Returns:
a new multimedia message or null

newServiceIndicationMessage

public ServiceIndicationMessage newServiceIndicationMessage()
Creates a new service indication message.
Returns:
a new push message or null

newTextMessage

public TextMessage newTextMessage()
Creates a new text message.
Returns:
a new text message or null


Copyright © 2002 Mobile Games Interoperability Forum. All rights reserved.
This source code is protected by the legal notice posted at http://www.mgif.org/docs/notice.html