org.granite.clustering
Interface GraniteDistributedData

All Known Implementing Classes:
SessionGraniteDistributedData

public interface GraniteDistributedData

Author:
Franck WOLFF

Method Summary
 void addChannelId(String channelId)
           
 void addSubcription(String channelId, CommandMessage message)
           
 void clearChannelIds()
           
 void clearSubscriptions(String channelId)
           
 Set<String> getChannelIds()
           
 Object getCredentials()
           
 String getDestinationClientId(String destination)
           
 String getDestinationSelector(String destination)
           
 String getDestinationSubscriptionId(String destination)
           
 List<CommandMessage> getSubscriptions(String channelId)
           
 boolean hasChannelId(String channelId)
           
 boolean hasCredentials()
           
 boolean hasSubcription(String channelId, String subscriptionId)
           
 void removeChannelId(String channelId)
           
 void removeCredentials()
           
 void removeSubcription(String channelId, String subscriptionId)
           
 void setCredentials(Object credentials)
           
 void setDestinationClientId(String destination, String clientId)
           
 void setDestinationSelector(String destination, String selector)
           
 void setDestinationSubscriptionId(String destination, String subscriptionId)
           
 

Method Detail

getCredentials

Object getCredentials()

hasCredentials

boolean hasCredentials()

setCredentials

void setCredentials(Object credentials)

removeCredentials

void removeCredentials()

addChannelId

void addChannelId(String channelId)

hasChannelId

boolean hasChannelId(String channelId)

removeChannelId

void removeChannelId(String channelId)

getChannelIds

Set<String> getChannelIds()

clearChannelIds

void clearChannelIds()

addSubcription

void addSubcription(String channelId,
                    CommandMessage message)

hasSubcription

boolean hasSubcription(String channelId,
                       String subscriptionId)

removeSubcription

void removeSubcription(String channelId,
                       String subscriptionId)

getSubscriptions

List<CommandMessage> getSubscriptions(String channelId)

clearSubscriptions

void clearSubscriptions(String channelId)

getDestinationClientId

String getDestinationClientId(String destination)

setDestinationClientId

void setDestinationClientId(String destination,
                            String clientId)

getDestinationSubscriptionId

String getDestinationSubscriptionId(String destination)

setDestinationSubscriptionId

void setDestinationSubscriptionId(String destination,
                                  String subscriptionId)

getDestinationSelector

String getDestinationSelector(String destination)

setDestinationSelector

void setDestinationSelector(String destination,
                            String selector)