org.mgif.connectivity.transfer
Interface Datagram

All Superinterfaces:
Attributes
All Known Subinterfaces:
BinaryMessage, Message, MMMessage, Request, ServiceIndicationMessage, TextMessage

public interface Datagram
extends Attributes

Interface for transferable data, whether synchronous or asynchronous

See Also:
MGIF

Method Summary
 java.util.Locale getLocale()
          Get locale
 java.util.Locale[] getLocales()
          Get all locales
 java.lang.String getProtocol()
          Get protocol
 java.lang.String getScheme()
          Get scheme
 java.lang.String getTerminalId()
          Get terminal id
 
Methods inherited from interface org.mgif.connectivity.transfer.Attributes
getAttribute, getAttributeNames, getAttributes, isAttribute, removeAttribute, setAttribute
 

Method Detail

getLocale

public java.util.Locale getLocale()
Get locale
Returns:
locale associated with datagram

getLocales

public java.util.Locale[] getLocales()
Get all locales

Returns all possible locales that may be used in processing the datagram

Returns:
all valid locales

getProtocol

public java.lang.String getProtocol()
Get protocol

Returns the name and version of the protocol the datagram uses in the form protocol/majorVersion.minorVersion, for example, HTTP/1.1 or CIMD/2.0

Returns:
presentation protocol

getScheme

public java.lang.String getScheme()
Get scheme

Returns the name of the scheme used by datagram, e.g. http, wap, sms, mms

Returns:
presentation protocol

getTerminalId

public java.lang.String getTerminalId()
Get terminal id

Returns the terminal id as well as known by underlying system. For SMS, this would be e.g. msisdn.

Returns:
terminal id


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