org.piax.gtrans.ov.szk.ChordSharpIf Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of piax-compat Show documentation
Show all versions of piax-compat Show documentation
A backward compatibility package for PIAX
The newest version!
/*
* ChordSharpIf.java - A RPC interface of multi-key Chord##.
*
* Copyright (c) 2015 Kota Abe / PIAX development team
*
* You can redistribute it and/or modify it under either the terms of
* the AGPLv3 or PIAX binary code license. See the file COPYING
* included in the PIAX package for more in detail.
*
* $Id$
*/
package org.piax.gtrans.ov.szk;
import org.piax.common.DdllKey;
import org.piax.gtrans.RPCException;
import org.piax.gtrans.RemoteCallable;
import org.piax.gtrans.ov.ring.NoSuchKeyException;
import org.piax.gtrans.ov.ring.RingIf;
import org.piax.gtrans.ov.szk.ChordSharpVNode.FTEntrySet;
/**
* multi-key Chord# RPC interface
*/
public interface ChordSharpIf extends RingIf {
@RemoteCallable
FTEntrySet getFingers(DdllKey key, int x, int y, int k, FTEntrySet given)
throws RPCException, NoSuchKeyException;
@RemoteCallable
FTEntry[][] getFingerTable(DdllKey key) throws RPCException,
NoSuchKeyException;
}