org.granite.client.messaging.channel
Class ChannelFactory

java.lang.Object
  extended by org.granite.client.messaging.channel.ChannelFactory

public class ChannelFactory
extends Object


Constructor Summary
ChannelFactory(org.granite.util.ContentType contentType)
           
 
Method Summary
 org.granite.util.ContentType getContentType()
           
 MessagingChannel newMessagingChannel(Transport transport, Configuration configuration, String id, URI uri)
           
 MessagingChannel newMessagingChannel(Transport transport, String id, URI uri)
           
 RemotingChannel newRemotingChannel(Transport transport, Configuration configuration, String id, URI uri, int maxConcurrentRequests)
           
 RemotingChannel newRemotingChannel(Transport transport, String id, URI uri)
           
 RemotingChannel newRemotingChannel(Transport transport, String id, URI uri, int maxConcurrentRequests)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelFactory

public ChannelFactory(org.granite.util.ContentType contentType)
Method Detail

getContentType

public org.granite.util.ContentType getContentType()

newRemotingChannel

public RemotingChannel newRemotingChannel(Transport transport,
                                          String id,
                                          URI uri)

newRemotingChannel

public RemotingChannel newRemotingChannel(Transport transport,
                                          String id,
                                          URI uri,
                                          int maxConcurrentRequests)

newRemotingChannel

public RemotingChannel newRemotingChannel(Transport transport,
                                          Configuration configuration,
                                          String id,
                                          URI uri,
                                          int maxConcurrentRequests)

newMessagingChannel

public MessagingChannel newMessagingChannel(Transport transport,
                                            String id,
                                            URI uri)

newMessagingChannel

public MessagingChannel newMessagingChannel(Transport transport,
                                            Configuration configuration,
                                            String id,
                                            URI uri)