Class NetworkClusterNode
- java.lang.Object
-
- de.dytanic.cloudnet.common.document.gson.BasicJsonDocPropertyable
-
- de.dytanic.cloudnet.driver.serialization.json.SerializableJsonDocPropertyable
-
- de.dytanic.cloudnet.driver.network.cluster.NetworkClusterNode
-
- All Implemented Interfaces:
de.dytanic.cloudnet.common.document.gson.IJsonDocPropertyable,SerializableObject
public class NetworkClusterNode extends SerializableJsonDocPropertyable implements SerializableObject
-
-
Constructor Summary
Constructors Constructor Description NetworkClusterNode()NetworkClusterNode(java.lang.String uniqueId, HostAndPort[] listeners)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HostAndPort[]getListeners()java.lang.StringgetUniqueId()voidread(@NotNull ProtocolBuffer buffer)voidwrite(@NotNull ProtocolBuffer buffer)
-
-
-
Constructor Detail
-
NetworkClusterNode
public NetworkClusterNode(java.lang.String uniqueId, HostAndPort[] listeners)
-
NetworkClusterNode
public NetworkClusterNode()
-
-
Method Detail
-
getUniqueId
public java.lang.String getUniqueId()
-
getListeners
public HostAndPort[] getListeners()
-
write
public void write(@NotNull @NotNull ProtocolBuffer buffer)- Specified by:
writein interfaceSerializableObject- Overrides:
writein classSerializableJsonDocPropertyable
-
read
public void read(@NotNull @NotNull ProtocolBuffer buffer)- Specified by:
readin interfaceSerializableObject- Overrides:
readin classSerializableJsonDocPropertyable
-
-