org.granite.client.messaging.channel.amf
Class AMFRemotingChannel
java.lang.Object
org.granite.client.messaging.channel.AbstractChannel<Transport>
org.granite.client.messaging.channel.AbstractHTTPChannel
org.granite.client.messaging.channel.amf.AbstractAMFChannel
org.granite.client.messaging.channel.amf.AMFRemotingChannel
- All Implemented Interfaces:
- Runnable, Channel, RemotingChannel, TransportStopListener
public class AMFRemotingChannel
- extends AbstractAMFChannel
- implements RemotingChannel
- Author:
- Franck WOLFF
| Methods inherited from class org.granite.client.messaging.channel.AbstractHTTPChannel |
getDefaultTimeToLive, getMaxConcurrentRequests, getRequest, isAuthenticated, isStarted, logout, onCancelled, onError, onMessage, onStop, run, schedule, send, setDefaultTimeToLive, start, stop |
| 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, getDefaultTimeToLive, getId, getTransport, getTransportData, getUri, isAuthenticated, isStarted, logout, onCancelled, onError, onMessage, send, setCredentials, setDefaultTimeToLive, setTransportData, start, stop |
codec
protected final MessagingCodec<AMF0Message> codec
index
protected volatile int index
AMFRemotingChannel
public AMFRemotingChannel(Transport transport,
Configuration configuration,
String id,
URI uri,
int maxConcurrentRequests)
createTransportMessage
protected TransportMessage createTransportMessage(AsyncToken token)
throws UnsupportedEncodingException
- Specified by:
createTransportMessage in class AbstractHTTPChannel
- Throws:
UnsupportedEncodingException
decodeResponse
protected ResponseMessage decodeResponse(InputStream is)
throws IOException
- Specified by:
decodeResponse in class AbstractHTTPChannel
- Throws:
IOException