javax.microedition.ipdr.callback.msg
Interface ConnectInfo

All Superinterfaces:
MessageInfo

public interface ConnectInfo
extends MessageInfo

The interface represents a CONNECT message information.

Version:
1.0
Author:
Shai Gotlib

Method Summary
 boolean getCapabilitiesMultiSession()
          Returns whether the connection suports multiple session
 boolean getCapabilitiesRequestResponse()
          Returns whether trequest/response events are supported.
 boolean getCapabilitiesStructures()
          Returns whether the connection suports structures as part of the templates
 boolean getCapabilitiesTemplateNegotiation()
          Returns whether the templates negotiation is supported
 java.lang.String getInitiatorAddress()
          Returns the initiator address in IPv4 "dotted decimal notation" format
 int getInitiatorPort()
          Returns the initiator port
 long getKeepAliveInterval()
          Returns the KeepAlive interval.
 java.lang.String getVendorId()
          Returns the vendor id A Vendor Identifier is a string that identifies the vendor that created the initiator
 
Methods inherited from interface javax.microedition.ipdr.callback.msg.MessageInfo
msgId, msgName, toString
 

Method Detail

getCapabilitiesMultiSession

public boolean getCapabilitiesMultiSession()
Returns whether the connection suports multiple session

Returns:
true if multiple session capability is supported false otherwise

getCapabilitiesStructures

public boolean getCapabilitiesStructures()
Returns whether the connection suports structures as part of the templates

Returns:
true if structres are supported false otherwise

getCapabilitiesTemplateNegotiation

public boolean getCapabilitiesTemplateNegotiation()
Returns whether the templates negotiation is supported

Returns:
true if templates negotiation is supported false otherwise

getCapabilitiesRequestResponse

public boolean getCapabilitiesRequestResponse()
Returns whether trequest/response events are supported. If not, just send Data is allowed

Returns:
true if request and response messages are supported false otherwise

getInitiatorAddress

public java.lang.String getInitiatorAddress()
Returns the initiator address in IPv4 "dotted decimal notation" format

Returns:
The initiator address in IPv4 "dotted decimal notation" format

getInitiatorPort

public int getInitiatorPort()
Returns the initiator port

Returns:
The initiator port (an integer)

getKeepAliveInterval

public long getKeepAliveInterval()
Returns the KeepAlive interval. The KeepAlive interval indicates the maximum amount of idle time on a connection before a KeepAlive Message MUST be sent to assure the underlying transport connection is still available. It is the maximum allowed delay between some indications from a remote are received in the connection level. This value is expressed in seconds.

Returns:
KeepAlive interval (This value is expressed in seconds)

getVendorId

public java.lang.String getVendorId()
Returns the vendor id A Vendor Identifier is a string that identifies the vendor that created the initiator

Returns:
Vendor id (String value)