public class ContextId
extends java.lang.Object
Title: Service Event Fabric Runtime
Description: Defines a Context Id that uniquely identifies a Fabric Component that is bound to the Runtime Context.
Copyright: Copyright (c) 2009
Company: StreamScape Technologies
Constructor and Description |
---|
ContextId()
Constructs a new context id.
|
ContextId(FabricAddress address)
Constructs a new context id.
|
Modifier and Type | Method and Description |
---|---|
void |
acquire(FabricAddress address)
Instructs the context to acquire a new address.
|
boolean |
equals(java.lang.Object other) |
FabricAddress |
getFabricAddress()
Returns a Fabric address associated with the context.
|
java.net.InetAddress |
getIpAddress()
Returns an IP address associated with the context.
|
long |
getUUID()
Returns a number that uniquely identifies this component at runtime.
|
int |
hashCode() |
void |
release()
Instructs the context to release the existing address.
|
java.lang.String |
toString() |
public ContextId()
public ContextId(FabricAddress address)
public void acquire(FabricAddress address)
public void release()
public long getUUID()
public java.net.InetAddress getIpAddress()
public FabricAddress getFabricAddress()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.