Package com.cbe

Class AccountEventProtocol


  • public class AccountEventProtocol
    extends java.lang.Object
    Protocol for implementing a AccountDelegate.
    Abstract base class which is used when you want notification on
    changes related to account status. Note this class needs to be implemented by the user.
    • Constructor Summary

      Constructors 
      Constructor Description
      AccountEventProtocol()
      AccountEventProtocol Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onCreated​(long atState)
      Gets called when the account status has changed (required).
      void onError​(long failedAtState, long code, java.lang.String reason, java.lang.String message)
      Gets called when the account status has changed (required).
      void onLogin​(long atState, CloudBackend cloudbackend)
      Gets called when the account status has changed (required).
      void onLogout​(long atState)
      Gets called when the account status has changed (required).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AccountEventProtocol

        public AccountEventProtocol()
        AccountEventProtocol Constructor.
    • Method Detail

      • onLogin

        public void onLogin​(long atState,
                            CloudBackend cloudbackend)
        Gets called when the account status has changed (required).
      • onLogout

        public void onLogout​(long atState)
        Gets called when the account status has changed (required).
      • onCreated

        public void onCreated​(long atState)
        Gets called when the account status has changed (required).
      • onError

        public void onError​(long failedAtState,
                            long code,
                            java.lang.String reason,
                            java.lang.String message)
        Gets called when the account status has changed (required).