Interface ISharedObjectNotify


  • public interface ISharedObjectNotify

    ISharedObjectNotify: listener interface used by IApplicationInstance addSharedObjectListener

    • Method Detail

      • onSharedObjectCreate

        void onSharedObjectCreate​(ISharedObject sharedObject)
        Triggered when sharedObject created
        Parameters:
        sharedObject - sharedObject
      • onSharedObjectDestroy

        void onSharedObjectDestroy​(ISharedObject sharedObject)
        Triggered when sharedObject destroyed
        Parameters:
        sharedObject - sharedObject
      • onSharedObjectConnect

        void onSharedObjectConnect​(ISharedObject sharedObject,
                                   IClient client)
        Triggered when client connects to sharedObject
        Parameters:
        sharedObject - sharedObject
        client - client
      • onSharedObjectDisconnect

        void onSharedObjectDisconnect​(ISharedObject sharedObject,
                                      IClient client)
        Triggered when client disconnects from sharedObject
        Parameters:
        sharedObject - sharedObject
        client - client