org.granite.client.messaging.channel
Interface ChannelFactory

All Known Implementing Classes:
AbstractChannelFactory, AMFChannelFactory, JMFChannelFactory

public interface ChannelFactory

Author:
Franck WOLFF

Method Summary
 ContentType getContentType()
           
 Object getContext()
           
 long getDefaultTimeToLive()
           
 Transport getMessagingTransport()
           
 Transport getRemotingTransport()
           
 MessagingChannel newMessagingChannel(String id, String uri)
           
 MessagingChannel newMessagingChannel(String id, URI uri)
           
 RemotingChannel newRemotingChannel(String id, String uri)
           
 RemotingChannel newRemotingChannel(String id, String uri, int maxConcurrentRequests)
           
 RemotingChannel newRemotingChannel(String id, URI uri)
           
 RemotingChannel newRemotingChannel(String id, URI uri, int maxConcurrentRequests)
           
 void setAliasRegistry(AliasRegistry aliasRegistry)
           
 void setContext(Object context)
           
 void setDefaultTimeToLive(long defaultTimeToLive)
           
 void setMessagingTransport(Transport messagingTransport)
           
 void setRemotingTransport(Transport remotingTransport)
           
 void setScanPackageNames(Set<String> packageNames)
           
 void start()
           
 void stop()
           
 void stop(boolean stopTransports)
           
 

Method Detail

getContentType

ContentType getContentType()

getDefaultTimeToLive

long getDefaultTimeToLive()

setDefaultTimeToLive

void setDefaultTimeToLive(long defaultTimeToLive)

getContext

Object getContext()

setContext

void setContext(Object context)

getRemotingTransport

Transport getRemotingTransport()

setRemotingTransport

void setRemotingTransport(Transport remotingTransport)

getMessagingTransport

Transport getMessagingTransport()

setMessagingTransport

void setMessagingTransport(Transport messagingTransport)

setAliasRegistry

void setAliasRegistry(AliasRegistry aliasRegistry)

setScanPackageNames

void setScanPackageNames(Set<String> packageNames)

start

void start()

stop

void stop()

stop

void stop(boolean stopTransports)

newRemotingChannel

RemotingChannel newRemotingChannel(String id,
                                   String uri)

newRemotingChannel

RemotingChannel newRemotingChannel(String id,
                                   String uri,
                                   int maxConcurrentRequests)

newMessagingChannel

MessagingChannel newMessagingChannel(String id,
                                     String uri)

newRemotingChannel

RemotingChannel newRemotingChannel(String id,
                                   URI uri)

newRemotingChannel

RemotingChannel newRemotingChannel(String id,
                                   URI uri,
                                   int maxConcurrentRequests)

newMessagingChannel

MessagingChannel newMessagingChannel(String id,
                                     URI uri)