net.sf.briar.api.protocol
Class GroupId

java.lang.Object
  extended by net.sf.briar.api.protocol.UniqueId
      extended by net.sf.briar.api.protocol.GroupId
All Implemented Interfaces:
Writable

public class GroupId
extends UniqueId

Type-safe wrapper for a byte array that uniquely identifies a group to which users may subscribe.


Field Summary
 
Fields inherited from class net.sf.briar.api.protocol.UniqueId
id, LENGTH
 
Constructor Summary
GroupId(byte[] id)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 void writeTo(Writer w)
           
 
Methods inherited from class net.sf.briar.api.protocol.UniqueId
getBytes, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupId

public GroupId(byte[] id)
Method Detail

writeTo

public void writeTo(Writer w)
             throws java.io.IOException
Throws:
java.io.IOException

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object