コード例 #1
0
  public DHTTransportContact[] findNodeRequest(DHTTransportContact contact, byte[] id) {
    stats.findNodeReceived();

    return (delegate.findNodeRequest(contact, id));
  }
コード例 #2
0
  public DHTTransportFindValueReply findValueRequest(
      DHTTransportContact contact, byte[] key, int max, byte flags) {
    stats.findValueReceived();

    return (delegate.findValueRequest(contact, key, max, flags));
  }
コード例 #3
0
  public DHTTransportQueryStoreReply queryStoreRequest(
      DHTTransportContact contact, int header_len, List<Object[]> keys) {
    stats.queryStoreReceived();

    return (delegate.queryStoreRequest(contact, header_len, keys));
  }
コード例 #4
0
  public DHTTransportStoreReply storeRequest(
      DHTTransportContact contact, byte[][] keys, DHTTransportValue[][] value_sets) {
    stats.storeReceived();

    return (delegate.storeRequest(contact, keys, value_sets));
  }
コード例 #5
0
  public DHTTransportFullStats statsRequest(DHTTransportContact contact) {
    stats.statsReceived();

    return (delegate.statsRequest(contact));
  }
コード例 #6
0
  public void keyBlockRequest(
      DHTTransportContact contact, byte[] key_block_request, byte[] key_block_signature) {
    stats.keyBlockReceived();

    delegate.keyBlockRequest(contact, key_block_request, key_block_signature);
  }
コード例 #7
0
  public void pingRequest(DHTTransportContact contact) {
    stats.pingReceived();

    delegate.pingRequest(contact);
  }