flex.messaging.endpoints
Class StreamingAMFEndpoint

java.lang.Object
  extended by flex.management.ManageableComponent
      extended by flex.messaging.endpoints.AbstractEndpoint
          extended by flex.messaging.endpoints.BaseHTTPEndpoint
              extended by flex.messaging.endpoints.BaseStreamingHTTPEndpoint
                  extended by flex.messaging.endpoints.StreamingAMFEndpoint
All Implemented Interfaces:
Manageable, Endpoint, Endpoint2, FlexComponent, FlexConfigurable
Direct Known Subclasses:
SecureStreamingAMFEndpoint

public class StreamingAMFEndpoint
extends BaseStreamingHTTPEndpoint

Extension to the AMFEndpoint to support streaming HTTP connections to connected clients. Each streaming connection managed by this endpoint consumes one of the request handler threads provided by the servlet container, so it is not highly scalable but offers performance advantages over client polling for clients receiving a steady, rapid stream of pushed messages. This endpoint does not support polling clients and will fault any poll requests that are received. To support polling clients use AMFEndpoint instead.


Field Summary
static String LOG_CATEGORY
          The log category for this endpoint.
 
Fields inherited from class flex.messaging.endpoints.BaseStreamingHTTPEndpoint
POLL_NOT_SUPPORTED_CODE, POLL_NOT_SUPPORTED_MESSAGE
 
Constructor Summary
StreamingAMFEndpoint()
          Constructs an unmanaged StreamingAMFEndpoint.
StreamingAMFEndpoint(boolean enableManagement)
          Constructs a StreamingAMFEndpoint with the indicated management.
 
Method Summary
 
Methods inherited from class flex.messaging.endpoints.BaseStreamingHTTPEndpoint
getIdleTimeoutMinutes, getMaxStreamingClients, getServerToClientHeartbeatMillis, getStreamingClientsCount, initialize, service, setIdleTimeoutMinutes, setMaxStreamingClients, setServerToClientHeartbeatMillis, start, stop
 
Methods inherited from class flex.messaging.endpoints.BaseHTTPEndpoint
getRedirectURL, isAddNoCacheHeaders, isInvalidateSessionOnDisconnect, setAddNoCacheHeaders, setInvalidateSessionOnDisconnect, setRedirectURL, setupFlexClient
 
Methods inherited from class flex.messaging.endpoints.AbstractEndpoint
describeEndpoint, getClientType, getFlexClientOutboundQueueProcessorClass, getFlexClientOutboundQueueProcessorConfig, getMessageBroker, getMessagingVersion, getPort, getSecurityConstraint, getSerializationContext, getServer, getTypeMarshaller, getUrl, isSecure, serviceMessage, setClientType, setFlexClientOutboundQueueProcessorClass, setFlexClientOutboundQueueProcessorConfig, setId, setMessageBroker, setSecurityConstraint, setSerializationContext, setServer, setTypeMarshaller, setupFlexClient, setUrl
 
Methods inherited from class flex.management.ManageableComponent
getControl, getId, getParent, 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.endpoints.Endpoint
getId, isStarted
 
Methods inherited from interface flex.management.Manageable
getControl, isManaged, setControl, setManaged
 

Field Detail

LOG_CATEGORY

public static final String LOG_CATEGORY
The log category for this endpoint.

See Also:
Constant Field Values
Constructor Detail

StreamingAMFEndpoint

public StreamingAMFEndpoint()
Constructs an unmanaged StreamingAMFEndpoint.


StreamingAMFEndpoint

public StreamingAMFEndpoint(boolean enableManagement)
Constructs a StreamingAMFEndpoint with the indicated management.

Parameters:
enableManagement - true if the StreamingAMFEndpoint is manageable; otherwise false.


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/endpoints/StreamingAMFEndpoint.html