public class UidGenerator
extends java.lang.Object
Uid
properties in a similar fashion to that recommended in section 4.8.4.7 of the specification.Constructor and Description |
---|
UidGenerator(HostInfo hostInfo,
java.lang.String pid) |
UidGenerator(java.lang.String pid) |
Modifier and Type | Method and Description |
---|---|
Uid |
generateUid() |
public UidGenerator(java.lang.String pid) throws java.net.SocketException
pid
- a unique process identifier for the host machinejava.net.SocketException
- where host information cannot be retrievedpublic UidGenerator(HostInfo hostInfo, java.lang.String pid)
hostInfo
- custom host informationpid
- a unique process identifier for the host machinepublic Uid generateUid()
Copyright © 2004-2015 Micronode. All Rights Reserved.