JXTA

net.jxta.instantp2p
Interface MessageBoard

All Known Implementing Classes:
Messaging, Messaging

public interface MessageBoard

Interface that needs to be implemented by classes that want to display chat results.


Method Summary
 void debug_MSG(java.lang.String str)
          Print a debug message
 boolean displayDialog(java.lang.String name, java.lang.String pipeID)
          Request input from the user whether a secure chat with peer named name on pipe pipeId will be aaccepted
 void displayMessage(java.lang.String str)
          Display a message
 void error(java.lang.String str)
          Print an error message
 void info(java.lang.String str)
          Print an info message
 

Method Detail

debug_MSG

public void debug_MSG(java.lang.String str)
Print a debug message
Parameters:
str - the debug message to print

error

public void error(java.lang.String str)
Print an error message
Parameters:
str - the error message to print

info

public void info(java.lang.String str)
Print an info message
Parameters:
str - the info message to print

displayMessage

public void displayMessage(java.lang.String str)
Display a message
Parameters:
str - the message to print

displayDialog

public boolean displayDialog(java.lang.String name,
                             java.lang.String pipeID)
Request input from the user whether a secure chat with peer named name on pipe pipeId will be aaccepted
Parameters:
name - the name of the peer requesting the secure chat
pipeID - the pipe on which the chat is requested
Returns:
true if the secure chat is accepted, false otherwise

JXTA