public class Owner extends java.lang.Object implements Streamable
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
Address |
getAddress() |
long |
getThreadId() |
int |
hashCode() |
void |
readFrom(java.io.DataInput in)
Read the state of the current object (including superclasses) from instream
Note that the input stream must not be closed
|
java.lang.String |
toString() |
void |
writeTo(java.io.DataOutput out)
Write the entire state of the current object (including superclasses) to outstream.
|
protected Address address
protected long thread_id
public Owner()
public Owner(Address address, long thread_id)
public Address getAddress()
public long getThreadId()
public void writeTo(java.io.DataOutput out)
throws java.lang.Exception
StreamablewriteTo 在接口中 Streamablejava.lang.Exceptionpublic void readFrom(java.io.DataInput in)
throws java.lang.Exception
StreamablereadFrom 在接口中 Streamablejava.lang.Exceptionpublic boolean equals(java.lang.Object obj)
equals 在类中 java.lang.Objectpublic int hashCode()
hashCode 在类中 java.lang.Objectpublic java.lang.String toString()
toString 在类中 java.lang.Object