14.06.2014 Views

Communication Paradigms - Connect

Communication Paradigms - Connect

Communication Paradigms - Connect

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A Typical Group Service<br />

interface Group<strong>Communication</strong>Service {<br />

appli<br />

appli<br />

}<br />

// creates a new group and returns the groups ID<br />

public GroupID<br />

groupCreate();<br />

// Adding & Removing a member to/from a group<br />

public void groupJoin ( GroupID group, Participant member);<br />

public void groupLeave ( GroupID group, Participant member);<br />

// multicasts a message to the named group with<br />

// the specified delivery semantics, and<br />

// optionally collects a number of replies<br />

group<br />

comm<br />

public Messages[] multicast ( GroupID group, OrderType order,<br />

Messages message, int nbReplies)<br />

group<br />

comm<br />

Adv. Dist. Systems G. Blair/ F. Taiani 27

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!