public void sendStore(
     DHTTransportReplyHandler handler,
     byte[][] keys,
     DHTTransportValue[][] value_sets,
     boolean immediate) {
   transport.sendStore(
       this,
       handler,
       keys,
       value_sets,
       immediate ? PRUDPPacketHandler.PRIORITY_IMMEDIATE : PRUDPPacketHandler.PRIORITY_LOW);
 }
 public void remove() {
   transport.removeContact(this);
 }
 public Map<String, Object> exportContactToMap() {
   return (transport.exportContactToMap(this));
 }
  public void exportContact(DataOutputStream os) throws IOException, DHTTransportException {

    transport.exportContact(this, os);
  }
 public DHTTransportFullStats getStats() {
   return (transport.getFullStats(this));
 }
 public void sendFindValue(
     DHTTransportReplyHandler handler, byte[] key, int max_values, short flags) {
   transport.sendFindValue(this, handler, key, max_values, flags);
 }
 public void sendFindNode(DHTTransportReplyHandler handler, byte[] nid, short flags) {
   transport.sendFindNode(this, handler, nid);
 }
 public void sendQueryStore(
     DHTTransportReplyHandler handler, int header_length, List<Object[]> key_details) {
   transport.sendQueryStore(this, handler, header_length, key_details);
 }
 public void sendImmediatePing(DHTTransportReplyHandler handler, long timeout) {
   transport.sendImmediatePing(this, handler, timeout);
 }
예제 #10
0
 public void sendStats(DHTTransportReplyHandler handler) {
   transport.sendStats(this, handler);
 }
예제 #11
0
 public void sendPing(DHTTransportReplyHandler handler) {
   transport.sendPing(this, handler);
 }
예제 #12
0
 public void isAlive(DHTTransportReplyHandler handler, long timeout) {
   transport.sendPing(this, handler, timeout, PRUDPPacketHandler.PRIORITY_IMMEDIATE);
 }
예제 #13
0
 public int getMaxFailForUnknownCount() {
   return (transport.getMaxFailForUnknownCount());
 }
예제 #14
0
 public int getMaxFailForLiveCount() {
   return (transport.getMaxFailForLiveCount());
 }
예제 #15
0
 public boolean isValid() {
   return (addressMatchesID() && !transport.invalidExternalAddress(external_address.getAddress()));
 }