com.hazelcast.cluster.impl
Class JoinRequest

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

public class JoinRequest
extends JoinMessage
implements DataSerializable


Field Summary
 
Fields inherited from class com.hazelcast.cluster.impl.JoinMessage
address, buildNumber, configCheck, memberCount, packetVersion, uuid
 
Constructor Summary
JoinRequest()
           
JoinRequest(byte packetVersion, int buildNumber, Address address, String uuid, ConfigCheck config, Credentials credentials, int memberCount, int tryCount, Map<String,Object> attributes)
           
 
Method Summary
 Map<String,Object> getAttributes()
           
 Credentials getCredentials()
           
 int getTryCount()
           
 void readData(ObjectDataInput in)
          Reads fields from the input stream
 void setTryCount(int tryCount)
           
 String toString()
           
 void writeData(ObjectDataOutput out)
          Writes object fields to output stream
 
Methods inherited from class com.hazelcast.cluster.impl.JoinMessage
getAddress, getBuildNumber, getConfigCheck, getMemberCount, getPacketVersion, getUuid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JoinRequest

public JoinRequest()

JoinRequest

public JoinRequest(byte packetVersion,
                   int buildNumber,
                   Address address,
                   String uuid,
                   ConfigCheck config,
                   Credentials credentials,
                   int memberCount,
                   int tryCount,
                   Map<String,Object> attributes)
Method Detail

getCredentials

public Credentials getCredentials()

getTryCount

public int getTryCount()

setTryCount

public void setTryCount(int tryCount)

getAttributes

public Map<String,Object> getAttributes()

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
Overrides:
readData in class JoinMessage
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
Overrides:
writeData in class JoinMessage
Parameters:
out - output
Throws:
IOException

toString

public String toString()
Overrides:
toString in class JoinMessage


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