Class ClusterInfo

java.lang.Object
org.teamapps.protocol.schema.MessageObject
org.teamapps.cluster.protocol.ClusterInfo

public class ClusterInfo
extends org.teamapps.protocol.schema.MessageObject
  • Field Summary

    Fields
    Modifier and Type Field Description
    static java.lang.String OBJECT_UUID  
  • Constructor Summary

    Constructors
    Constructor Description
    ClusterInfo()  
    ClusterInfo​(byte[] bytes)  
    ClusterInfo​(byte[] bytes, org.teamapps.protocol.file.FileProvider fileProvider)  
    ClusterInfo​(io.netty.buffer.ByteBuf buf, org.teamapps.protocol.file.FileProvider fileProvider)  
    ClusterInfo​(java.io.DataInputStream dis)  
    ClusterInfo​(java.io.DataInputStream dis, org.teamapps.protocol.file.FileProvider fileProvider)  
    ClusterInfo​(org.teamapps.protocol.schema.MessageObject message, org.teamapps.protocol.schema.PojoObjectDecoderRegistry pojoObjectDecoderRegistry)  
  • Method Summary

    Modifier and Type Method Description
    ClusterInfo addRemoteNodes​(NodeInfo value)  
    NodeInfo getLocalNode()  
    static org.teamapps.protocol.schema.PojoObjectDecoder<ClusterInfo> getMessageDecoder()  
    static org.teamapps.protocol.schema.MessageModel getMessageModel()  
    static org.teamapps.protocol.schema.ModelCollection getModelCollection()  
    java.util.List<NodeInfo> getRemoteNodes()  
    boolean isInitialMessage()  
    boolean isResponse()  
    static ClusterInfo remap​(org.teamapps.protocol.schema.MessageObject message)  
    ClusterInfo setInitialMessage​(boolean value)  
    ClusterInfo setLocalNode​(NodeInfo value)  
    ClusterInfo setRemoteNodes​(java.util.List<NodeInfo> value)  
    ClusterInfo setResponse​(boolean value)  

    Methods inherited from class org.teamapps.protocol.schema.MessageObject

    addReference, explain, getBitSetProperty, getBooleanProperty, getByteArrayProperty, getByteProperty, getDoubleArrayProperty, getDoubleProperty, getFileProperty, getFilePropertyAsFile, getFilePropertyAsFileLength, getFilePropertyAsFileName, getFloatArrayProperty, getFloatProperty, getIntArrayProperty, getIntProperty, getLongArrayProperty, getLongProperty, getModel, getName, getProperties, getProperty, getReferencedObject, getReferencedObjectAsType, getReferencedObjects, getReferencedObjectsAsType, getStringArrayProperty, getStringProperty, readMessageObjectUuid, readMessageObjectUuid, removeField, setBitSetProperty, setBooleanProperty, setByteArrayProperty, setByteProperty, setDoubleArrayProperty, setDoubleProperty, setFileProperty, setFileProperty, setFileProperty, setFloatArrayProperty, setFloatProperty, setIntArrayProperty, setIntProperty, setLongArrayProperty, setLongProperty, setProperty, setReferencedObject, setReferencedObjectAsType, setReferencedObjects, setReferencedObjectsAsType, setStringArrayProperty, setStringProperty, toBytes, toBytes, toString, write, write

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • ClusterInfo

      public ClusterInfo()
    • ClusterInfo

      public ClusterInfo​(org.teamapps.protocol.schema.MessageObject message, org.teamapps.protocol.schema.PojoObjectDecoderRegistry pojoObjectDecoderRegistry)
    • ClusterInfo

      public ClusterInfo​(java.io.DataInputStream dis) throws java.io.IOException
      Throws:
      java.io.IOException
    • ClusterInfo

      public ClusterInfo​(java.io.DataInputStream dis, org.teamapps.protocol.file.FileProvider fileProvider) throws java.io.IOException
      Throws:
      java.io.IOException
    • ClusterInfo

      public ClusterInfo​(io.netty.buffer.ByteBuf buf, org.teamapps.protocol.file.FileProvider fileProvider) throws java.io.IOException
      Throws:
      java.io.IOException
    • ClusterInfo

      public ClusterInfo​(byte[] bytes) throws java.io.IOException
      Throws:
      java.io.IOException
    • ClusterInfo

      public ClusterInfo​(byte[] bytes, org.teamapps.protocol.file.FileProvider fileProvider) throws java.io.IOException
      Throws:
      java.io.IOException
  • Method Details

    • getMessageDecoder

      public static org.teamapps.protocol.schema.PojoObjectDecoder<ClusterInfo> getMessageDecoder()
    • getMessageModel

      public static org.teamapps.protocol.schema.MessageModel getMessageModel()
    • getModelCollection

      public static org.teamapps.protocol.schema.ModelCollection getModelCollection()
    • remap

      public static ClusterInfo remap​(org.teamapps.protocol.schema.MessageObject message)
    • isInitialMessage

      public boolean isInitialMessage()
    • setInitialMessage

      public ClusterInfo setInitialMessage​(boolean value)
    • isResponse

      public boolean isResponse()
    • setResponse

      public ClusterInfo setResponse​(boolean value)
    • getLocalNode

      public NodeInfo getLocalNode()
    • setLocalNode

      public ClusterInfo setLocalNode​(NodeInfo value)
    • getRemoteNodes

      public java.util.List<NodeInfo> getRemoteNodes()
    • setRemoteNodes

      public ClusterInfo setRemoteNodes​(java.util.List<NodeInfo> value)
    • addRemoteNodes

      public ClusterInfo addRemoteNodes​(NodeInfo value)