org.glassfish.cafe.api
Interface ProtocolMessage

All Superinterfaces:
Message

public interface ProtocolMessage
extends Message

Represents the ProtocolMessage (actual SIP Message). Like other type of Messages, ProtocolMessage also will be available to the application from the CommunicationContext.getMessage method. Note that the ProtocolMessage is expected to be used only be advanced users. Also, the kind of changes made to the actual protocol objects might impact the behavior of the CAFE runtime behavior. Typically application might add/remove custom headers or parameters needed for specific application.

Author:
binod
See Also:
ProtocolEvent

Method Summary
 Object get()
          Method to retrieve the actual SIP Message.
 
Methods inherited from interface org.glassfish.cafe.api.Message
consume, getContent, getContentType, reject, send, send, send
 

Method Detail

get

Object get()
Method to retrieve the actual SIP Message. It can be either a Request or a Response depending on the event that gets invoked.

Returns:
Actual Protocol Message Object.


Copyright © 2010. All Rights Reserved.