Class ClusterSchemaRegistry

java.lang.Object
org.teamapps.cluster.model.cluster.ClusterSchemaRegistry
All Implemented Interfaces:
org.teamapps.protocol.message.MessageDecoderRegistry

public class ClusterSchemaRegistry
extends java.lang.Object
implements org.teamapps.protocol.message.MessageDecoderRegistry
  • Field Summary

    Fields
    Modifier and Type Field Description
    static org.teamapps.protocol.message.MessageDecoderRegistry REGISTRY  
    static org.teamapps.protocol.message.MessageSchema SCHEMA  
  • Constructor Summary

    Constructors
    Constructor Description
    ClusterSchemaRegistry()  
  • Method Summary

    Modifier and Type Method Description
    boolean containsDecoder​(int id)  
    org.teamapps.protocol.message.MessageDecoder<? extends org.teamapps.protocol.message.Message> getMessageDecoder​(int id)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • SCHEMA

      public static org.teamapps.protocol.message.MessageSchema SCHEMA
    • REGISTRY

      public static org.teamapps.protocol.message.MessageDecoderRegistry REGISTRY
  • Constructor Details

    • ClusterSchemaRegistry

      public ClusterSchemaRegistry()
  • Method Details

    • getMessageDecoder

      public org.teamapps.protocol.message.MessageDecoder<? extends org.teamapps.protocol.message.Message> getMessageDecoder​(int id)
      Specified by:
      getMessageDecoder in interface org.teamapps.protocol.message.MessageDecoderRegistry
    • containsDecoder

      public boolean containsDecoder​(int id)
      Specified by:
      containsDecoder in interface org.teamapps.protocol.message.MessageDecoderRegistry