org.granite.client.messaging.channel
Class AMFChannelFactory

java.lang.Object
  extended by org.granite.client.messaging.channel.AbstractChannelFactory
      extended by org.granite.client.messaging.channel.AMFChannelFactory
All Implemented Interfaces:
ChannelFactory

public class AMFChannelFactory
extends AbstractChannelFactory

Author:
Franck WOLFF

Field Summary
 
Fields inherited from class org.granite.client.messaging.channel.AbstractChannelFactory
aliasRegistry, contentType, context, defaultTimeToLive, messagingTransport, remotingTransport, scanPackageNames
 
Constructor Summary
AMFChannelFactory()
           
AMFChannelFactory(Object context)
           
AMFChannelFactory(Object context, Configuration defaultConfiguration)
           
AMFChannelFactory(Object context, Transport remotingTransport, Transport messagingTransport)
           
AMFChannelFactory(Object context, Transport remotingTransport, Transport messagingTransport, Configuration defaultConfiguration)
           
 
Method Summary
 Configuration getDefaultConfiguration()
           
 AMFMessagingChannel newMessagingChannel(String id, URI uri)
           
 AMFRemotingChannel newRemotingChannel(String id, URI uri)
           
 AMFRemotingChannel newRemotingChannel(String id, URI uri, int maxConcurrentRequests)
           
 
Methods inherited from class org.granite.client.messaging.channel.AbstractChannelFactory
getContentType, getContext, getDefaultTimeToLive, getMessagingTransport, getRemotingTransport, newMessagingChannel, newRemotingChannel, newRemotingChannel, setAliasRegistry, setContext, setDefaultTimeToLive, setMessagingTransport, setRemotingTransport, setScanPackageNames, setScanPackageNames, start, stop, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AMFChannelFactory

public AMFChannelFactory()

AMFChannelFactory

public AMFChannelFactory(Object context)

AMFChannelFactory

public AMFChannelFactory(Object context,
                         Configuration defaultConfiguration)

AMFChannelFactory

public AMFChannelFactory(Object context,
                         Transport remotingTransport,
                         Transport messagingTransport)

AMFChannelFactory

public AMFChannelFactory(Object context,
                         Transport remotingTransport,
                         Transport messagingTransport,
                         Configuration defaultConfiguration)
Method Detail

newRemotingChannel

public AMFRemotingChannel newRemotingChannel(String id,
                                             URI uri)

newRemotingChannel

public AMFRemotingChannel newRemotingChannel(String id,
                                             URI uri,
                                             int maxConcurrentRequests)

newMessagingChannel

public AMFMessagingChannel newMessagingChannel(String id,
                                               URI uri)

getDefaultConfiguration

public Configuration getDefaultConfiguration()