jason.core
Interface MessageHandler

All Known Implementing Classes:
ConsoleMessageHandler

public interface MessageHandler

Created Sun Feb 17 19:19:23 2002

Interface for managing service message

Author:
Alexandre Brillant (abrillant@wanadoo.fr)
See Also:
AbstractService

Method Summary
 void sendCustomMessage(java.lang.String service, int type, java.lang.String content)
          Send a custom information message for a type and a service
 void sendErrorMessage(java.lang.String service, java.lang.String content)
          Send an error message for the service
 void sendInformationMessage(java.lang.String service, java.lang.String content)
          Send an information message for the service
 void sendWarningMessage(java.lang.String service, java.lang.String content)
          Send a warning message for the service
 void setDomain(Domain d)
          Reset the Domain for the service
 

Method Detail

setDomain

public void setDomain(Domain d)
Reset the Domain for the service


sendErrorMessage

public void sendErrorMessage(java.lang.String service,
                             java.lang.String content)
Send an error message for the service


sendWarningMessage

public void sendWarningMessage(java.lang.String service,
                               java.lang.String content)
Send a warning message for the service


sendInformationMessage

public void sendInformationMessage(java.lang.String service,
                                   java.lang.String content)
Send an information message for the service


sendCustomMessage

public void sendCustomMessage(java.lang.String service,
                              int type,
                              java.lang.String content)
Send a custom information message for a type and a service