Class Serializer

    • Method Detail

      • deserialize

        public Event deserialize​(byte[] data)
        Deserializes an Event from the given data.
        Parameters:
        data - the bytes representing the serialized Event
        Returns:
        the Event, or null if no event could be deserialized from the given data
      • deserialize

        public Event deserialize​(InputStream data)
        Deserializes an Event from the given data.
        Parameters:
        data - the InputStream containing the serialized Event
        Returns:
        the Event, or null if no event could be deserialized from the given data
      • getSite

        public Site getSite​(String siteName)
        Returns the Site with the given name
        Parameters:
        siteName - the name of the site to retrieve
        Returns:
        the Site
      • getNodeId

        public String getNodeId()
        Returns to node id used when creating this serializer
        Returns:
        the node id
      • getPlatformConfig

        public Properties getPlatformConfig()
        Return the platform configuration as Properties.
        Returns:
        the platform configuration