org.alliance.core.comm.rpc
Class IsFriend

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

public class IsFriend
extends RPC

Sent when replying to GetIsFriend. Replies with the guid of friend and whether he's a trusted friend or not Received when trying to help a friend with a host/port pair that is out of date. Created by IntelliJ IDEA. User: maciek Date: 2005-dec-21 Time: 16:34:22 To change this template use File | Settings | File Templates.


Field Summary
 
Fields inherited from class org.alliance.core.comm.RPC
broadcastable, con, core, fromGuid, hops, manager, routable
 
Constructor Summary
IsFriend()
           
IsFriend(boolean reply, int guid)
           
 
Method Summary
 void execute(Packet data)
           
 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
 

Constructor Detail

IsFriend

public IsFriend()

IsFriend

public IsFriend(boolean reply,
                int guid)
Method Detail

execute

public void execute(Packet data)
             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