Class Subscription

    • Constructor Detail

      • Subscription

        protected Subscription​(long userdata)
    • Method Detail

      • deserialize

        public static Subscription[] deserialize​(byte[] memory,
                                                 int ptr,
                                                 int nbSubscription)
        De-serialize the subscription events in the memory an return them as an array of Subscription.
        Parameters:
        memory - the memory from which to read the subscription event.
        ptr - the start pointer in the memory.
        nbSubscription - the number subscription to read.
        Returns:
        the de-serialized subscription events array
      • getUserData

        public long getUserData()
        Gets the user data
        Returns:
        the user data