public class JMFRemotingChannel extends AbstractAMFChannel implements RemotingChannel
| Modifier and Type | Field and Description |
|---|---|
protected MessagingCodec<AMF0Message> |
codec |
protected int |
index |
defaultTimeToLive, maxConcurrentRequestsclientId, credentials, id, transport, transportData, uriDEFAULT_MAX_CONCURRENT_REQUESTSBYTEARRAY_BODY_HEADER, DEFAULT_TIME_TO_LIVE, RECONNECT_INTERVAL_MS_KEY, RECONNECT_MAX_ATTEMPTS_KEY| Constructor and Description |
|---|
JMFRemotingChannel(Transport transport,
ClientSharedContext sharedContext,
java.lang.String id,
java.net.URI uri,
int maxConcurrentRequests) |
JMFRemotingChannel(Transport transport,
MessagingCodec<AMF0Message> codec,
java.lang.String id,
java.net.URI uri,
int maxConcurrentRequests) |
| Modifier and Type | Method and Description |
|---|---|
protected TransportMessage |
createTransportMessage(AsyncToken token) |
protected ResponseMessage |
decodeResponse(java.io.InputStream is) |
convertFromAmf, convertFromAmf, convertToAmfaddListener, authenticate, bindStatus, dispatchFault, getDefaultTimeToLive, getMaxConcurrentRequests, getRequest, internalStop, isAuthenticated, isStarted, logout, logout, onCancelled, onDisconnect, onError, onMessage, onStop, removeListener, run, schedule, send, setAuthenticated, setDefaultTimeToLive, setPinged, start, stop, unbindStatusgetClientId, getCredentials, getId, getTransport, getTransportData, getUri, setCredentials, setTransportDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListener, bindStatus, getClientId, getCredentials, getDefaultTimeToLive, getId, getTransport, getTransportData, getUri, isAuthenticated, isStarted, logout, logout, onCancelled, onDisconnect, onError, onMessage, removeListener, send, setCredentials, setDefaultTimeToLive, setTransportData, start, stop, unbindStatusprotected final MessagingCodec<AMF0Message> codec
protected volatile int index
public JMFRemotingChannel(Transport transport, ClientSharedContext sharedContext, java.lang.String id, java.net.URI uri, int maxConcurrentRequests)
public JMFRemotingChannel(Transport transport, MessagingCodec<AMF0Message> codec, java.lang.String id, java.net.URI uri, int maxConcurrentRequests)
protected TransportMessage createTransportMessage(AsyncToken token) throws java.io.UnsupportedEncodingException
createTransportMessage in class AbstractHTTPChanneljava.io.UnsupportedEncodingExceptionprotected ResponseMessage decodeResponse(java.io.InputStream is) throws java.io.IOException
decodeResponse in class AbstractHTTPChanneljava.io.IOException