Class ProtocolDiscoveryStartRequestEvent


public class ProtocolDiscoveryStartRequestEvent extends RealmScopedEvent
Initiates a protocol discovery process (either instance or asset discovery depending on isAssetDiscovery()); for a given client only one discovery process can be running at a time so any already running discovery process will be stopped.
  • Field Details

    • agentDescriptor

      protected String agentDescriptor
    • assetId

      protected String assetId
    • assetDiscovery

      protected boolean assetDiscovery
  • Constructor Details

    • ProtocolDiscoveryStartRequestEvent

      public ProtocolDiscoveryStartRequestEvent(String realm, String agentDescriptor, String assetId, boolean assetDiscovery)
  • Method Details

    • getAgentDescriptor

      public String getAgentDescriptor()
    • getAssetId

      public String getAssetId()
      If isAssetDiscovery() then this should be the ID of the Agent on which Asset discovery should be initiated. Otherwise this should be the ID of the parent Asset under which the discovered Agent would be created.
    • isAssetDiscovery

      public boolean isAssetDiscovery()