public class Master extends AbstractRemotelyProcessable
Modifier and Type | Field and Description |
---|---|
protected Address |
address
The address.
|
conn
node
Constructor and Description |
---|
Master()
Instantiates a new isMaster.
|
Master(Address originAddress)
Instantiates a new isMaster.
|
Modifier and Type | Method and Description |
---|---|
Address |
getAddress()
Gets the address.
|
void |
process() |
void |
readData(DataInput in) |
void |
setAddress(Address address)
Sets the address.
|
String |
toString() |
void |
writeData(DataOutput out) |
getConnection, setConnection
getNode, setNode
readByteArray, readObject, writeByteArray, writeObject
protected Address address
public Master()
public Master(Address originAddress)
originAddress
- the origin addresspublic void readData(DataInput in) throws IOException
readData
in interface DataSerializable
readData
in class AbstractRemotelyProcessable
IOException
public void writeData(DataOutput out) throws IOException
writeData
in interface DataSerializable
writeData
in class AbstractRemotelyProcessable
IOException
public void process()
public Address getAddress()
public void setAddress(Address address)
address
- the address to setCopyright © 2013 Hazelcast, Inc.. All rights reserved.