public class JoinMessage extends Object implements DataSerializable
Modifier and Type | Field and Description |
---|---|
protected Address |
address |
protected int |
buildNumber |
protected ConfigCheck |
configCheck |
protected boolean |
liteMember |
protected Collection<Address> |
memberAddresses |
protected byte |
packetVersion |
protected String |
uuid |
Constructor and Description |
---|
JoinMessage() |
JoinMessage(byte packetVersion,
int buildNumber,
Address address,
String uuid,
boolean liteMember,
ConfigCheck configCheck) |
JoinMessage(byte packetVersion,
int buildNumber,
Address address,
String uuid,
boolean liteMember,
ConfigCheck configCheck,
Collection<Address> memberAddresses) |
Modifier and Type | Method and Description |
---|---|
Address |
getAddress() |
int |
getBuildNumber() |
ConfigCheck |
getConfigCheck() |
Collection<Address> |
getMemberAddresses() |
int |
getMemberCount() |
byte |
getPacketVersion() |
String |
getUuid() |
boolean |
isLiteMember() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
protected byte packetVersion
protected int buildNumber
protected Address address
protected String uuid
protected boolean liteMember
protected ConfigCheck configCheck
protected Collection<Address> memberAddresses
public JoinMessage()
public JoinMessage(byte packetVersion, int buildNumber, Address address, String uuid, boolean liteMember, ConfigCheck configCheck)
public JoinMessage(byte packetVersion, int buildNumber, Address address, String uuid, boolean liteMember, ConfigCheck configCheck, Collection<Address> memberAddresses)
public byte getPacketVersion()
public int getBuildNumber()
public Address getAddress()
public String getUuid()
public boolean isLiteMember()
public ConfigCheck getConfigCheck()
public int getMemberCount()
public Collection<Address> getMemberAddresses()
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
in
- inputIOException
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
out
- outputIOException
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.