fulmine.distribution
Interface IRetransmitter

All Known Subinterfaces:
IChannel
All Known Implementing Classes:
Channel

public interface IRetransmitter

Executes retransmission operations between a local context and a single, connected, remote context.

Retransmission operations cover:

Author:
Ramon Servadei

Method Summary
 void requestRetransmit(String identityRegularExpression, IType type, IDomain domain)
          Send a request to the connected remote context to retransmit the complete state of the subscribed IContainer instances with matching type and identity.
 void requestRetransmitAll()
          Send a request to the connected remote context to retransmit the complete state of all the IContainer instances subscribed for by the local context.
 void retransmit(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()
          Retransmit the complete state of all the IContainer instances that the connected remote context has subscribed for.
 

Method Detail

retransmit

void retransmit(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.

Wildcards are not supported with this operation.

Parameters:
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()
Retransmit the complete state of all the IContainer instances that the connected remote context has subscribed for.


requestRetransmit

void requestRetransmit(String identityRegularExpression,
                       IType type,
                       IDomain domain)
Send a request to the connected remote context to retransmit the complete state of the subscribed IContainer instances with matching type and identity.

Wildcards are not supported with this operation.

Parameters:
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()
Send a request to the connected remote context to retransmit the complete state of all the IContainer instances subscribed for by the local context.



Copyright © 2007-2009. All Rights Reserved.