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 Type
    Method
    Description
    Returns The address of the instance where this code is currently running.
    void
    setCurrentAddress(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

      void setCurrentAddress(String currentAddress)
      Sets the address of the instance where this code is currently running.
      Parameters:
      currentAddress - the address of the instance