|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.management.ManageableComponent
flex.messaging.services.AbstractService
flex.messaging.services.HTTPProxyService
public class HTTPProxyService
The HttpProxyService replaces the Flex 1.5 Proxy. It decouples the details of how the client contacts the message broker by accepting an HTTPMessage type which can be sent over any channel.
HTTPMessage| Field Summary | |
|---|---|
static String |
LOG_CATEGORY
Log category for HTTPProxyService. |
| Fields inherited from class flex.messaging.services.AbstractService |
|---|
LOG_CATEGORY_STARTUP_DESTINATION |
| Constructor Summary | |
|---|---|
HTTPProxyService()
Constructs an unmanaged HTTPProxyService. |
|
HTTPProxyService(boolean enableManagement)
Constructs a HTTPProxyService with the indicated management. |
|
| Method Summary | |
|---|---|
void |
addDestination(Destination destination)
Casts the Destination into HTTPProxyDestination
and calls super.addDestination. |
Destination |
createDestination(String id)
Creates a HTTPProxyDestination instance, sets its id,
sets it manageable if the AbstractService that created it is
manageable, and sets its Service to the AbstractService
that created it. |
Object |
serviceMessage(Message msg)
Processes messages of type HTTPMessage by invoking the
requested destination's adapter. |
| Methods inherited from class flex.messaging.services.AbstractService |
|---|
addDefaultChannel, describeService, getDefaultAdapter, getDefaultChannels, getDestination, getDestination, getDestinations, getMessageBroker, getRegisteredAdapters, registerAdapter, removeDefaultChannel, removeDestination, serviceCommand, setDefaultAdapter, setDefaultChannels, setId, setMessageBroker, start, stop, unregisterAdapter |
| Methods inherited from class flex.management.ManageableComponent |
|---|
getControl, getId, getParent, initialize, isManaged, isStarted, isValid, setControl, setManaged, setParent |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface flex.messaging.services.Service |
|---|
getId |
| Methods inherited from interface flex.management.Manageable |
|---|
getControl, isManaged, setControl, setManaged |
| Methods inherited from interface flex.messaging.FlexComponent |
|---|
isStarted |
| Methods inherited from interface flex.messaging.FlexConfigurable |
|---|
initialize |
| Field Detail |
|---|
public static final String LOG_CATEGORY
HTTPProxyService.
| Constructor Detail |
|---|
public HTTPProxyService()
HTTPProxyService.
public HTTPProxyService(boolean enableManagement)
HTTPProxyService with the indicated management.
enableManagement - true if the HTTPProxyService
is manageable; otherwise false.| Method Detail |
|---|
public Destination createDestination(String id)
HTTPProxyDestination instance, sets its id,
sets it manageable if the AbstractService that created it is
manageable, and sets its Service to the AbstractService
that created it.
createDestination in interface ServicecreateDestination in class AbstractServiceid - The id of the HTTPProxyDestination.
Destination instanced created.public void addDestination(Destination destination)
Destination into HTTPProxyDestination
and calls super.addDestination.
addDestination in interface ServiceaddDestination in class AbstractServicedestination - The Destination instance to be added.public Object serviceMessage(Message msg)
HTTPMessage by invoking the
requested destination's adapter.
serviceMessage in interface ServiceserviceMessage in class AbstractServicemsg - The message sent by the MessageBroker.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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/HTTPProxyService.html