flex.messaging.services.messaging.adapters
Class ActionScriptAdapter
java.lang.Object
flex.management.ManageableComponent
flex.messaging.services.ServiceAdapter
flex.messaging.services.messaging.adapters.MessagingAdapter
flex.messaging.services.messaging.adapters.ActionScriptAdapter
- All Implemented Interfaces:
- Manageable, FlexComponent, FlexConfigurable, MessagingSecurity
public class ActionScriptAdapter
- extends MessagingAdapter
An ActionScript object based adapter for the MessageService
that supports simple publish/subscribe messaging between
ActionScript based clients.
ActionScriptAdapter
public ActionScriptAdapter()
- Constructs a default
ActionScriptAdapter.
setDestination
public void setDestination(Destination destination)
- Casts the
Destination into MessageDestination
and calls super.setDestination.
- Overrides:
setDestination in class ServiceAdapter
- Parameters:
destination -
invoke
public Object invoke(Message message)
- Handle a data message intended for this adapter.
- Specified by:
invoke in class ServiceAdapter
- Parameters:
message - the message as sent by the client intended for this adapter
- Returns:
- the body of the acknowledge message (or null if there is no body)
- See Also:
Message,
AsyncMessage
Copyright © 2008 Adobe Systems Inc. All Rights Reserved.
Send me an e-mail when comments are added to this page
| Comment Report
Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/messaging/services/messaging/adapters/ActionScriptAdapter.html