com.hazelcast.cluster
Class JoinMessage

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

public class JoinMessage
extends Object
implements DataSerializable

Author:
mdogan 1/30/13

Field Summary
protected  com.hazelcast.nio.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, com.hazelcast.nio.Address address, String uuid, ConfigCheck configCheck, int memberCount)
           
 
Method Summary
 com.hazelcast.nio.Address getAddress()
           
 int getBuildNumber()
           
 ConfigCheck getConfigCheck()
           
 int getMemberCount()
           
 byte getPacketVersion()
           
 String getUuid()
           
 void readData(com.hazelcast.nio.ObjectDataInput in)
           
 String toString()
           
 void writeData(com.hazelcast.nio.ObjectDataOutput out)
           
 
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 com.hazelcast.nio.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,
                   com.hazelcast.nio.Address address,
                   String uuid,
                   ConfigCheck configCheck,
                   int memberCount)
Method Detail

getPacketVersion

public byte getPacketVersion()

getBuildNumber

public int getBuildNumber()

getAddress

public com.hazelcast.nio.Address getAddress()

getUuid

public String getUuid()

getConfigCheck

public ConfigCheck getConfigCheck()

getMemberCount

public int getMemberCount()

readData

public void readData(com.hazelcast.nio.ObjectDataInput in)
              throws IOException
Specified by:
readData in interface DataSerializable
Throws:
IOException

writeData

public void writeData(com.hazelcast.nio.ObjectDataOutput out)
               throws IOException
Specified by:
writeData in interface DataSerializable
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object


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