javax.microedition.ipdr.callback.msg
Interface ConnectResponseInfo

All Superinterfaces:
MessageInfo

public interface ConnectResponseInfo
extends MessageInfo

The interface represents a CONNECT_RESPONSE 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
 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 responder
 
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

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 responder

Returns:
Vendor id (String value)