Rice Pastry API

org.mpisws.p2p.transport.peerreview
Interface PeerReview<Handle,Identifier>

All Known Implementing Classes:
PeerReviewImpl

public interface PeerReview<Handle,Identifier>


Method Summary
 AuthenticatorSerializer getAuthenticatorSerializer()
           
 Environment getEnvironment()
           
 Serializer<Handle> getHandleSerializer()
           
 int getHashSizeInBytes()
           
 IdentifierExtractor<Handle,Identifier> getIdentifierExtractor()
           
 Serializer<Identifier> getIdSerializer()
           
 int getSignatureSizeInBytes()
           
 long getTime()
          Current time in millis, however, we depend on there being a timesource that is more discritized than the "wall" clock.
 

Method Detail

getEnvironment

Environment getEnvironment()

getAuthenticatorSerializer

AuthenticatorSerializer getAuthenticatorSerializer()

getHandleSerializer

Serializer<Handle> getHandleSerializer()

getIdSerializer

Serializer<Identifier> getIdSerializer()

getTime

long getTime()
Current time in millis, however, we depend on there being a timesource that is more discritized than the "wall" clock. It is only advanced on a timeout or a message receipt.

Returns:

getHashSizeInBytes

int getHashSizeInBytes()

getSignatureSizeInBytes

int getSignatureSizeInBytes()

getIdentifierExtractor

IdentifierExtractor<Handle,Identifier> getIdentifierExtractor()

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.