本文整理汇总了Java中rpc.core.UUID.toString方法的典型用法代码示例。如果您正苦于以下问题:Java UUID.toString方法的具体用法?Java UUID.toString怎么用?Java UUID.toString使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类rpc.core.UUID
的用法示例。
在下文中一共展示了UUID.toString方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: read
import rpc.core.UUID; //导入方法依赖的package包/类
public void read(NetworkDataRepresentation ndr)
{
ndr.readUnsignedLong(); //pointer
ndr.readUnsignedLong(); //some length component, irrelevant for us right now
oxidBindings = JIDualStringArray.decode(ndr);
try {
UUID ipid2 = new UUID();
ipid2.decode(ndr,ndr.getBuffer());
ipid = (ipid2.toString());
} catch (NdrException e) {
JISystem.getLogger().throwing("JIRemActivation","read",e);
}
//read the auth hint
int authenticationHint = ndr.readUnsignedLong();
JIComVersion comVersion = new JIComVersion();
comVersion.setMajorVersion(ndr.readUnsignedShort());
comVersion.setMinorVersion(ndr.readUnsignedShort());
int hresult = ndr.readUnsignedLong();
if (hresult != 0)
{
//System.out.println("EXCEPTION FROM SERVER ! --> " + "0x" + Long.toHexString(hresult).substring(8));
throw new JIRuntimeException(hresult);
}
}
示例2: JIOrpcThis
import rpc.core.UUID; //导入方法依赖的package包/类
public JIOrpcThis(UUID casualityIdentifier)
{
cid = casualityIdentifier.toString();
}