public class Master extends AbstractRemotelyProcessable
| Modifier and Type | Field and Description |
|---|---|
protected Address |
address
The address.
|
connnode| 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, setConnectiongetNode, setNodereadByteArray, readObject, writeByteArray, writeObjectprotected Address address
public Master()
public Master(Address originAddress)
originAddress - the origin addresspublic void readData(DataInput in) throws IOException
readData in interface DataSerializablereadData in class AbstractRemotelyProcessableIOExceptionpublic void writeData(DataOutput out) throws IOException
writeData in interface DataSerializablewriteData in class AbstractRemotelyProcessableIOExceptionpublic void process()
public Address getAddress()
public void setAddress(Address address)
address - the address to setCopyright © 2013 Hazelcast, Inc.. All rights reserved.