flex.messaging.services.messaging.adapters
Class ActionScriptAdapter

java.lang.Object
  extended by flex.management.ManageableComponent
      extended by flex.messaging.services.ServiceAdapter
          extended by flex.messaging.services.messaging.adapters.MessagingAdapter
              extended by 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.


Field Summary
 
Fields inherited from class flex.messaging.services.ServiceAdapter
LOG_CATEGORY
 
Constructor Summary
ActionScriptAdapter()
          Constructs a default ActionScriptAdapter.
 
Method Summary
 Object invoke(Message message)
          Handle a data message intended for this adapter.
 void setDestination(Destination destination)
          Casts the Destination into MessageDestination and calls super.setDestination
 
Methods inherited from class flex.messaging.services.messaging.adapters.MessagingAdapter
allowSend, allowSubscribe
 
Methods inherited from class flex.messaging.services.ServiceAdapter
getAdapterState, getDestination, handlesSubscriptions, manage, setAdapterState, start, stop
 
Methods inherited from class flex.management.ManageableComponent
getControl, getId, getParent, initialize, isManaged, isStarted, isValid, setControl, setId, setManaged, setParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionScriptAdapter

public ActionScriptAdapter()
Constructs a default ActionScriptAdapter.

Method Detail

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 © 2007 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/livecycle/es/sdkHelp/programmer/lcdsjavadoc/flex/messaging/services/messaging/adapters/ActionScriptAdapter.html