fulmine
Interface IAddressable

All Known Subinterfaces:
IComponent, IConnection, IContainer, IContainerDefinitionField, IEvent, IEventSource, IField, ISubscription, ISubscriptionParameters, ISystemEvent, ISystemEventSource
All Known Implementing Classes:
AbstractComponent, AbstractContainer, AbstractContainerFieldEvent, AbstractDynamicContainer, AbstractEvent, AbstractEventProcessingContainer, AbstractField, AbstractSocketChannelConnection, AbstractSystemEvent, ActiveAsymmetricEventProcessor, Addressable, AsymmetricEventProcessor, AsymmetricEventProcessor.Result, BasicContainer, BooleanField, ChannelDestroyedEvent, ChannelReadyEvent, ConnectionAvailableEvent, ConnectionDestroyedEvent, ContainerCreatedEvent, ContainerDefinitionField, ContainerDestroyedEvent, ContainerFieldAddedEvent, ContainerFieldRemovedEvent, ContainerStateChangeEvent, ContainerSubscription, ContextDiscoveredEvent, ContextNotAvailableEvent, DescriptorField, DoubleField, EventSource, EventSourceNotObservedEvent, EventSourceObservedEvent, FloatField, ImageEvent, IntegerField, LongField, MessageConsumedEvent, MessageEvent, Record, RemoteContainerCreatedEvent, RemoteContainerDestroyedEvent, RpcInvokeEvent, RxEvent, RxSubscription, SendRpcEvent, StringField, SubscribeEvent, Subscription, SubscriptionParameters, SystemEventSource, TcpConnection, TxEvent, TxSubscription, UnsubscribeEvent

public interface IAddressable

An object that can provide 3 attributes/components to uniquely address itself; an identity string, a type and a domain.

Author:
Ramon Servadei

Method Summary
 String getAddress()
          Get the unique address for this.
 IDomain getDomain()
          Get the domain attribute of this object.
 String getIdentity()
          Get the identification string for this entity.
 IType getType()
          Get the type attribute of this object.
 

Method Detail

getIdentity

String getIdentity()
Get the identification string for this entity. This is unique within the type and domain.

Returns:
a String identity providing an identification for this entity within its type and domain.
See Also:
getType(), getDomain()

getType

IType getType()
Get the type attribute of this object. The type is orthogonal to the domain.

Returns:
the type of this object
See Also:
getDomain()

getDomain

IDomain getDomain()
Get the domain attribute of this object. The domain is orthogonal to the type.

Returns:
the domain of this object
See Also:
getType()

getAddress

String getAddress()
Get the unique address for this. The address is composed of the identity, domain and type.

Returns:
the unique address for this


Copyright © 2007-2009. All Rights Reserved.