flex.messaging.endpoints
Class StreamingHTTPEndpoint

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.StreamingHTTPEndpoint
All Implemented Interfaces:
Manageable, Endpoint, Endpoint2, FlexComponent, FlexConfigurable
Direct Known Subclasses:
SecureStreamingHTTPEndpoint

public class StreamingHTTPEndpoint
extends BaseStreamingHTTPEndpoint

Extension to the HTTPEndpoint 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 HTTPEndpoint 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
StreamingHTTPEndpoint()
          Constructs an unmanaged StreamingHTTPEndpoint.
StreamingHTTPEndpoint(boolean enableManagement)
          Constructs a StreamingHTTPEndpoint 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

StreamingHTTPEndpoint

public StreamingHTTPEndpoint()
Constructs an unmanaged StreamingHTTPEndpoint.


StreamingHTTPEndpoint

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

Parameters:
enableManagement - true if the StreamingHTTPEndpoint 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/StreamingHTTPEndpoint.html