grinda.impl
Interface Communicator

All Superinterfaces:
PeerCommunicator
All Known Implementing Classes:
CommunicationManager

public interface Communicator
extends PeerCommunicator

Interface used by the Grid service to handle the communication with peers

Version:
1.0
Author:
Sirio Capizzi

Method Summary
 void disjoinPeer(java.lang.String peer)
           
 void initialize()
           
 java.lang.String[] joinPeer(java.lang.String peer, java.lang.String[] neighs)
           
 void manageSubscription(SubscriptionInfo i)
           
 void receive(GrindaResponse r)
           
 GrindaResponse transmit(GrindaRequest r)
           
 
Methods inherited from interface grinda.impl.PeerCommunicator
getCount, getEndpoint, neighbours, transmit, transmit
 

Method Detail

initialize

void initialize()
                throws java.lang.Exception
Throws:
java.lang.Exception

receive

void receive(GrindaResponse r)
             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

transmit

GrindaResponse transmit(GrindaRequest r)
                        throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

disjoinPeer

void disjoinPeer(java.lang.String peer)
                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

joinPeer

java.lang.String[] joinPeer(java.lang.String peer,
                            java.lang.String[] neighs)
                            throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

manageSubscription

void manageSubscription(SubscriptionInfo i)
                        throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException


Copyright © 2006 Sirio Capizzi. All Rights Reserved.