org.alliance.core.comm.rpc
Class SearchHits

java.lang.Object
  extended by org.alliance.core.comm.RPC
      extended by org.alliance.core.comm.rpc.SearchHits

public class SearchHits
extends RPC

Sent when a friend needs information about the correct ip/port of a common friend of ours. Recieved when we need info about a friend that we haven't got the correct ip/port to. Created by IntelliJ IDEA. User: maciek Date: 2005-dec-28 Time: 18:42:48


Field Summary
static int MAX_SEARCH_HITS
           
 
Fields inherited from class org.alliance.core.comm.RPC
broadcastable, con, core, fromGuid, hops, manager, routable
 
Constructor Summary
SearchHits()
           
 
Method Summary
 void addHit(FileDescriptor fd)
           
 void execute(Packet in)
           
 int getNHits()
           
 Packet serializeTo(Packet p)
           
 
Methods inherited from class org.alliance.core.comm.RPC
init, init, isBroadcastable, isInitialized, isRoutable, send, send, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MAX_SEARCH_HITS

public static final int MAX_SEARCH_HITS
See Also:
Constant Field Values
Constructor Detail

SearchHits

public SearchHits()
Method Detail

addHit

public void addHit(FileDescriptor fd)

execute

public void execute(Packet in)
             throws java.io.IOException
Specified by:
execute in class RPC
Throws:
java.io.IOException

serializeTo

public Packet serializeTo(Packet p)
Specified by:
serializeTo in class RPC

getNHits

public int getNHits()