com.hazelcast.cluster.impl
Class BindMessage

java.lang.Object
  extended by com.hazelcast.cluster.impl.BindMessage
All Implemented Interfaces:
DataSerializable, IdentifiedDataSerializable

public class BindMessage
extends Object
implements IdentifiedDataSerializable


Constructor Summary
BindMessage()
           
BindMessage(Address localAddress, Address targetAddress, boolean reply)
           
 
Method Summary
 int getFactoryId()
          Returns DataSerializableFactory factory id for this class.
 int getId()
          Returns type identifier for this class.
 Address getLocalAddress()
           
 Address getTargetAddress()
           
 void readData(ObjectDataInput in)
          Reads fields from the input stream
 boolean shouldReply()
           
 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
 

Constructor Detail

BindMessage

public BindMessage()

BindMessage

public BindMessage(Address localAddress,
                   Address targetAddress,
                   boolean reply)
Method Detail

getLocalAddress

public Address getLocalAddress()

getTargetAddress

public Address getTargetAddress()

shouldReply

public boolean shouldReply()

getFactoryId

public int getFactoryId()
Description copied from interface: IdentifiedDataSerializable
Returns DataSerializableFactory factory id for this class.

Specified by:
getFactoryId in interface IdentifiedDataSerializable
Returns:
factory id

getId

public int getId()
Description copied from interface: IdentifiedDataSerializable
Returns type identifier for this class. Id should be unique per DataSerializableFactory.

Specified by:
getId in interface IdentifiedDataSerializable
Returns:
type id

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.