org.jboss.net.sockets
Class MethodHash

java.lang.Object
  extended byorg.jboss.net.sockets.MethodHash

public class MethodHash
extends java.lang.Object


Constructor Summary
MethodHash()
           
 
Method Summary
static long calculateHash(java.lang.reflect.Method method)
           
static java.util.Map getInterfaceHashes(java.lang.Class intf)
          Calculate method hashes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodHash

public MethodHash()
Method Detail

getInterfaceHashes

public static java.util.Map getInterfaceHashes(java.lang.Class intf)
Calculate method hashes. This algo is taken from RMI.

Parameters:
intf -
Returns:

calculateHash

public static long calculateHash(java.lang.reflect.Method method)