Package com.qfs.messenger
Interface ICurrentInstanceAware
- All Known Implementing Classes:
ABroadcastMessage,AMessageWithCountedCompleter,AQueryBroadcastMessage,ASyncBroadcastMessage,ATransactionCommittedMessage,CompositeDiscoveryMessage,ContextValueRequest,DrillthroughHeadersMessage,DrillthroughMessageWithHeaders,EmptyInitialDiscoveryMessage,EmptyTransactionCommittedMessage,GoodbyeMessage,HelloMessage,InitialDiscoveryMessage,InternalDrillthroughHeadersMessage,MergedTransactionCommittedMessage,NotificationMessage,RestartOrderMessage,RetrieveAggregatesMessage,SchemaDiscoveryMessage,TransactionCommittedMessage,TransactionInitialCommittedMessage
public interface ICurrentInstanceAware
Interface for an object that needs to be aware of the instance on which its code is being
executed.
- Author:
- ActiveViam
-
Method Summary
Modifier and TypeMethodDescriptionReturns The address of the instance where this code is currently running.voidsetCurrentAddress(String currentAddress) Sets the address of the instance where this code is currently running.
-
Method Details
-
getCurrentAddress
String getCurrentAddress()Returns The address of the instance where this code is currently running. -
setCurrentAddress
Sets the address of the instance where this code is currently running.- Parameters:
currentAddress- the address of the instance
-