hhms
Interface ErrorHandler


public interface ErrorHandler

If there is a Error on a Connection, HHMS will inform ErrorHandler. It does this by calling the listener's onErrorMessage() method and passing it a Error message describing the problem.
Message List are:

  • CONNECTION_FAILURE: Link Failure in most case.
  • SOCKET_FAILURE: Socket Initialization Failure. Check Network Parameters.
  • LOGIN_FAIL: UserID is existing already. Use different UserID.

    Title: ErrorHandler

    Copyright: Copyright (c) 2004

    Company: CommunityGrids Labs at Indiana University


    Method Summary
     void onErrorMessage(Message message)
              Pass an error to the Listener
     

    Method Detail

    onErrorMessage

    public void onErrorMessage(Message message)
    Pass an error to the Listener

    Parameters:
    message - the HHMS message pass to the Listener