com.hazelcast.cluster.impl
Class JoinMessage

java.lang.Object
  extended by com.hazelcast.cluster.impl.JoinMessage
All Implemented Interfaces:
DataSerializable
Direct Known Subclasses:
JoinRequest

public class JoinMessage
extends Object
implements DataSerializable


Field Summary
protected  Address address
           
protected  int buildNumber
           
protected  ConfigCheck configCheck
           
protected  int memberCount
           
protected  byte packetVersion
           
protected  String uuid
           
 
Constructor Summary
JoinMessage()
           
JoinMessage(byte packetVersion, int buildNumber, Address address, String uuid, ConfigCheck configCheck, int memberCount)
           
 
Method Summary
 Address getAddress()
           
 int getBuildNumber()
           
 ConfigCheck getConfigCheck()
           
 int getMemberCount()
           
 byte getPacketVersion()
           
 String getUuid()
           
 void readData(ObjectDataInput in)
          Reads fields from the input stream
 String toString()
           
 void writeData(ObjectDataOutput out)
          Writes object fields to output stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

packetVersion

protected byte packetVersion

buildNumber

protected int buildNumber

address

protected Address address

uuid

protected String uuid

configCheck

protected ConfigCheck configCheck

memberCount

protected int memberCount
Constructor Detail

JoinMessage

public JoinMessage()

JoinMessage

public JoinMessage(byte packetVersion,
                   int buildNumber,
                   Address address,
                   String uuid,
                   ConfigCheck configCheck,
                   int memberCount)
Method Detail

getPacketVersion

public byte getPacketVersion()

getBuildNumber

public int getBuildNumber()

getAddress

public Address getAddress()

getUuid

public String getUuid()

getConfigCheck

public ConfigCheck getConfigCheck()

getMemberCount

public int getMemberCount()

readData

public void readData(ObjectDataInput in)
              throws IOException
Description copied from interface: DataSerializable
Reads fields from the input stream

Specified by:
readData in interface DataSerializable
Parameters:
in - input
Throws:
IOException

writeData

public void writeData(ObjectDataOutput out)
               throws IOException
Description copied from interface: DataSerializable
Writes object fields to output stream

Specified by:
writeData in interface DataSerializable
Parameters:
out - output
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.