fulmine.distribution
Interface IRetransmissionManager

All Known Subinterfaces:
IDistributionManager, IFrameworkContext, IFulmineContext
All Known Implementing Classes:
FTContext, FTDistributionManager, FulmineContext

public interface IRetransmissionManager

Manages retransmission operations for all connected remote contexts.

Author:
Ramon Servadei

Method Summary
 void requestRetransmit(String contextIdentity, String identityRegularExpression, IType type, IDomain domain)
          Send a request to the named remote context to retransmit the complete state of the IContainer instances with matching type and identity subscribe for by the local context.
 void requestRetransmitAll(String contextIdentity)
          Send a request to the named remote context to retransmit the complete state of all IContainer instances subscribed for by the local context.
 void retransmit(String contextIdentity, String identityRegularExpression, IType type, IDomain domain)
          Retransmit the complete state of the IContainer instances with matching type and identity to the (connected) remote context.
 void retransmitAll(String contextIdentity)
          Retransmit the complete state of all the IContainer instances that the (connected) remote context has subscribed for.
 void retransmitAllToAll()
          Retransmit the complete state of all the IContainer instances to all (connected) remote contexts that have a subscription for the container instances.
 void retransmitToAll(String identityRegularExpression, IType type, IDomain domain)
          Retransmit the complete state of the IContainer instances with matching type and identity to all (connected) remote contexts that have a subscription for the matching container.
 

Method Detail

retransmit

void retransmit(String contextIdentity,
                String identityRegularExpression,
                IType type,
                IDomain domain)
Retransmit the complete state of the IContainer instances with matching type and identity to the (connected) remote context. The container must also currently be subscribed for by the remote context.

Parameters:
contextIdentity - the identity of the remote context
identityRegularExpression - the identity regular expression to match against containers currently subscribed for by the remote context
type - the type of the container
domain - the domain of the container

retransmitAll

void retransmitAll(String contextIdentity)
Retransmit the complete state of all the IContainer instances that the (connected) remote context has subscribed for.

Parameters:
contextIdentity - the identity of the remote context

requestRetransmit

void requestRetransmit(String contextIdentity,
                       String identityRegularExpression,
                       IType type,
                       IDomain domain)
Send a request to the named remote context to retransmit the complete state of the IContainer instances with matching type and identity subscribe for by the local context.

Parameters:
contextIdentity - the identity of the remote context
identityRegularExpression - the identity regular expression to match against containers currently subscribed for by the local context
type - the type of the container
domain - the domain of the container

requestRetransmitAll

void requestRetransmitAll(String contextIdentity)
Send a request to the named remote context to retransmit the complete state of all IContainer instances subscribed for by the local context.

Parameters:
contextIdentity - the identity of the remote context

retransmitToAll

void retransmitToAll(String identityRegularExpression,
                     IType type,
                     IDomain domain)
Retransmit the complete state of the IContainer instances with matching type and identity to all (connected) remote contexts that have a subscription for the matching container.

Parameters:
identityRegularExpression - the identity regular expression to match against containers currently subscribed for by any (connected) remote contexts.
type - the type of the container
domain - the domain of the container

retransmitAllToAll

void retransmitAllToAll()
Retransmit the complete state of all the IContainer instances to all (connected) remote contexts that have a subscription for the container instances.



Copyright © 2007-2009. All Rights Reserved.