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 ICurrentInstanceAwareInterface for an object that needs to be aware of the instance on which its code is being executed.- Author:
- ActiveViam
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCurrentAddress()Returns 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 Detail
-
getCurrentAddress
String getCurrentAddress()
Returns The address of the instance where this code is currently running.
-
setCurrentAddress
void setCurrentAddress(String currentAddress)
Sets the address of the instance where this code is currently running.- Parameters:
currentAddress- the address of the instance
-
-