Interface DialogPipeListener
package: net.jxta.myjxta.dialog
All Known Implementing Classes:
ManyToManyDialog, ManyToManyDialog
public interface DialogPipeListener
Version:
$Id: DialogPipeListener.java,v 1.1 2004/12/19 23:53:47 gonzo Exp $
Author:
james todd [gonzo at jxta dot org]
Method Summary
public void
receive(PeerGroup pg, JxtaBiDiPipe pipe)
   Called if a new JxtaBiDiPipe was opened for the indicated PeerGroup
 
public void
receive(PeerGroup pg, Message msg)
   Called if a new Message object was received
 
Method Detail
receive
public void receive(PeerGroup pg, JxtaBiDiPipe pipe)
Called if a new JxtaBiDiPipe was opened for the indicated PeerGroup
Parameters:
pg the PeerGroup in which this pipe was opened
pipe the JxtaBiDiPipe on which messages are send

receive
public void receive(PeerGroup pg, Message msg)
Called if a new Message object was received
Parameters:
pg the PeerGroup in which this message was send
msg the newly received message