org.granite.client.messaging.channel.amf
Class JMFAMFMessagingChannel

java.lang.Object
  extended by org.granite.client.messaging.channel.AbstractChannel<Transport>
      extended by org.granite.client.messaging.channel.AbstractHTTPChannel
          extended by org.granite.client.messaging.channel.amf.AbstractAMFChannel
              extended by org.granite.client.messaging.channel.amf.AMFMessagingChannel
                  extended by org.granite.client.messaging.channel.amf.JMFAMFMessagingChannel
All Implemented Interfaces:
Runnable, Channel, MessagingChannel, SessionAwareChannel, TransportStopListener

public class JMFAMFMessagingChannel
extends AMFMessagingChannel


Field Summary
 
Fields inherited from class org.granite.client.messaging.channel.amf.AMFMessagingChannel
codec, connectMessageId, consumersMap, reconnectAttempts, reconnectIntervalMillis, reconnectMaxAttempts, reconnectTimerTask, sessionId
 
Fields inherited from class org.granite.client.messaging.channel.AbstractHTTPChannel
authenticated, defaultTimeToLive, maxConcurrentRequests, pinged
 
Fields inherited from class org.granite.client.messaging.channel.AbstractChannel
clientId, credentials, id, transport, transportData, uri
 
Fields inherited from interface org.granite.client.messaging.channel.Channel
BYTEARRAY_BODY_HEADER, RECONNECT_INTERVAL_MS_KEY, RECONNECT_MAX_ATTEMPTS_KEY
 
Constructor Summary
JMFAMFMessagingChannel(Transport transport, Configuration configuration, String id, URI uri)
           
JMFAMFMessagingChannel(Transport transport, String id, URI uri)
           
 
Method Summary
protected  MessagingCodec<flex.messaging.messages.Message[]> newMessagingCodec(Configuration configuration)
           
 
Methods inherited from class org.granite.client.messaging.channel.amf.AMFMessagingChannel
addConsumer, cancelReconnectTimerTask, connect, createTransportMessage, decodeResponse, disconnect, onError, removeConsumer, scheduleReconnectTimerTask, setSessionId
 
Methods inherited from class org.granite.client.messaging.channel.amf.AbstractAMFChannel
convertFromAmf, convertFromAmf, convertToAmf
 
Methods inherited from class org.granite.client.messaging.channel.AbstractHTTPChannel
getMaxConcurrentRequests, getRequest, isAuthenticated, isStarted, logout, onCancelled, onMessage, onStop, run, schedule, send, start, stop
 
Methods inherited from class org.granite.client.messaging.channel.AbstractChannel
getClientId, getCredentials, getId, getTransport, getTransportData, getUri, setCredentials, setTransportData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.granite.client.messaging.channel.Channel
getClientId, getCredentials, getId, getTransport, getTransportData, getUri, isAuthenticated, isStarted, logout, onCancelled, onMessage, send, setCredentials, setTransportData, start, stop
 

Constructor Detail

JMFAMFMessagingChannel

public JMFAMFMessagingChannel(Transport transport,
                              String id,
                              URI uri)

JMFAMFMessagingChannel

public JMFAMFMessagingChannel(Transport transport,
                              Configuration configuration,
                              String id,
                              URI uri)
Method Detail

newMessagingCodec

protected MessagingCodec<flex.messaging.messages.Message[]> newMessagingCodec(Configuration configuration)
Overrides:
newMessagingCodec in class AMFMessagingChannel