|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object CTL.Types.GroupInfo
public class GroupInfo
Group information storage
Field Summary | |
---|---|
private long |
objID
ObjectID a Group object |
private PeerID |
pid
Local Peer ID |
private boolean |
wantTerm
|
Constructor Summary | |
---|---|
GroupInfo(PeerID pid,
long objID)
Create a new GroupInfo object |
Method Summary | |
---|---|
IPaddr |
host()
Retrieve the IP address |
long |
id()
Retrieve the objID |
PeerID |
pid()
Retrieve the PeerID |
int |
port()
Retrieve the port |
void |
read(SerialIn in)
Serial read function |
java.lang.String |
toString()
Retrieve a string representation of this object |
void |
write(SerialOut out)
Serial write function |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private PeerID pid
private long objID
private boolean wantTerm
Constructor Detail |
---|
public GroupInfo(PeerID pid, long objID)
pid
- PeerIDobjID
- ObjectIDMethod Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public void read(SerialIn in) throws java.io.IOException, java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
read
in interface Writable
in
- Input stream
java.io.IOException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
public void write(SerialOut out) throws java.io.IOException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, CTLException
write
in interface Writable
out
- Output stream
java.io.IOException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
CTLException
public IPaddr host()
public int port()
public PeerID pid()
public long id()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |