net.sf.briar.api.protocol
Class OfferId

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

public class OfferId
extends UniqueId

Type-safe wrapper for a byte array that uniquely identifies an offer.


Field Summary
 
Fields inherited from class net.sf.briar.api.protocol.UniqueId
id, LENGTH
 
Constructor Summary
OfferId(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

OfferId

public OfferId(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