KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > rmi > server > UID

java.rmi.server
Class UID

java.lang.Object
  extended by java.rmi.server.UID
All Implemented Interfaces:
Serializable
See Also:
Top Examples, Source Code, System.currentTimeMillis(), UID(short), UID()

public boolean equals(Object obj)
See Also:
Hashtable, Object.hashCode()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int hashCode()
See Also:
Hashtable, Object.equals(java.lang.Object)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static UID read(DataInput in)
                throws IOException
See Also:
DataInput.readShort(), DataInput.readLong(), DataInput.readInt()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String toString()
See Also:
Object
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public UID()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


[511]UID for localhost
By Anonymous on 2004/05/18 02:00:08  Rate
String host = " ( unknown ) "; 
 try  {  
     host = java.net.InetAddress.getLocalHost (  ) .toString (  ) ; 
  }  catch  ( java.net.UnknownHostException ex )   {  
     // ignore 
  }  
 id =  ( new java.rmi.server.UID (  )  ) .toString (  )  + "@" + host; 
 


public UID(short num)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void write(DataOutput out)
           throws IOException
See Also:
DataOutput.writeShort(int), DataOutput.writeLong(long), DataOutput.writeInt(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags