|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mpisws.p2p.transport.peerreview.authpush.AuthenticatorPushProtocolImpl<Handle,Identifier>
public class AuthenticatorPushProtocolImpl<Handle extends RawSerializable,Identifier extends RawSerializable>
This protocol collects authenticators from incoming messages and, once in a while, batches them together and sends them to the witnesses.
Field Summary |
---|
Constructor Summary | |
---|---|
AuthenticatorPushProtocolImpl(PeerReview<Handle,Identifier> peerreview,
AuthenticatorStore<Identifier> inStore,
AuthenticatorStore<Identifier> outStore,
AuthenticatorStore<Identifier> pendingStore,
IdentityTransport<Handle,Identifier> transport,
PeerReviewCallback<Handle,Identifier> app,
PeerInfoStore<Handle,Identifier> infoStore,
int hashSizeBytes,
EvidenceTransferProtocol<Handle,Identifier> evidenceTransferProtocol,
Environment env)
|
Method Summary | |
---|---|
void |
addAuthenticatorsIfValid(java.util.List<Authenticator> authenticators,
Identifier id)
Called when some other node sends us an AUTHPUSH message. |
protected void |
continuePush(java.util.Map<Identifier,java.util.Collection<Handle>> subjects)
|
void |
enableProbabilisticChecking(double pXmit)
|
void |
handleIncomingAuthenticators(Handle source,
AuthPushMessage<Identifier> msg)
Called when some other node sends us an AUTHPUSH message. |
void |
notifyCertificateAvailable(Identifier id)
When we receive a new certificate, we may be able to check some more signatures on auths in the authPendingStore |
void |
push()
|
protected void |
sendAuthenticators(Handle h,
java.util.Map<Identifier,java.util.List<Authenticator>> authenticators)
TODO: make this use udp, or smaller AuthPushMessages |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuthenticatorPushProtocolImpl(PeerReview<Handle,Identifier> peerreview, AuthenticatorStore<Identifier> inStore, AuthenticatorStore<Identifier> outStore, AuthenticatorStore<Identifier> pendingStore, IdentityTransport<Handle,Identifier> transport, PeerReviewCallback<Handle,Identifier> app, PeerInfoStore<Handle,Identifier> infoStore, int hashSizeBytes, EvidenceTransferProtocol<Handle,Identifier> evidenceTransferProtocol, Environment env)
Method Detail |
---|
public void enableProbabilisticChecking(double pXmit)
public void push()
protected void continuePush(java.util.Map<Identifier,java.util.Collection<Handle>> subjects)
protected void sendAuthenticators(Handle h, java.util.Map<Identifier,java.util.List<Authenticator>> authenticators) throws java.io.IOException
h
- authenticators
-
java.io.IOException
public void addAuthenticatorsIfValid(java.util.List<Authenticator> authenticators, Identifier id)
public void handleIncomingAuthenticators(Handle source, AuthPushMessage<Identifier> msg)
public void notifyCertificateAvailable(Identifier id)
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |