org.nukesoft.commlib
Interface CommPortCallback

All Known Implementing Classes:
DialogManager

public interface CommPortCallback

The CommPortCallback interface is used by the CommPort class to provide a way to pass off incomming instant messages to the appropriate authority.

Author:
Ryan Michela
See Also:
CommPort

Method Summary
 void handleIM(IM message, CommPort cp)
          Handles an incomming message.
 void handleWarn(String screenName, CommPort cp)
          Handles an incomming warning.
 

Method Detail

handleIM

public void handleIM(IM message,
                     CommPort cp)
Handles an incomming message.

Parameters:
message - The message.

handleWarn

public void handleWarn(String screenName,
                       CommPort cp)
Handles an incomming warning.

Parameters:
screenName - The screen name that did the warning.