public class CommProcess extends Object implements Serializable
| Constructor and Description |
|---|
CommProcess(CommProcess process)
Clone the given process.
|
CommProcess(InetSocketAddress addr,
int id,
boolean isSelf) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object test) |
InetSocketAddress |
getAddress()
Gets the address of the process.
|
int |
getId()
Gets the process id.
|
int |
hashCode() |
boolean |
isCorrect()
Is the process correct.
|
boolean |
isInitialized()
Is the process initialized.
|
boolean |
isSelf()
Check if the process is self.
|
void |
setState(ProcessState state) |
public CommProcess(InetSocketAddress addr, int id, boolean isSelf)
public CommProcess(CommProcess process)
process - the process to be clonedpublic InetSocketAddress getAddress()
public int getId()
public boolean isSelf()
public boolean equals(Object test)
equals in class ObjectObject.equals(java.lang.Object)public void setState(ProcessState state)
public boolean isInitialized()
public boolean isCorrect()
Copyright © 2020 VanillaDB Organization. All rights reserved.