Class ITInfrastructureEventClient

  • All Implemented Interfaces:
    ITInfrastructureEventInterface

    public class ITInfrastructureEventClient
    extends Object
    implements ITInfrastructureEventInterface
    ITInfrastructureEventClient provides the implementation to manage the interaction with the server to set up a listener to support the receipt of inbound events from the IT Infrastructure OMAS Out Topic.
    • Constructor Detail

      • ITInfrastructureEventClient

        public ITInfrastructureEventClient​(String serverName,
                                           String serverPlatformURLRoot,
                                           String serverUserId,
                                           String serverPassword,
                                           int maxPageSize,
                                           AuditLog auditLog,
                                           String callerId)
                                    throws InvalidParameterException
        Create a new client that is to be used within an OMAG Server.
        Parameters:
        serverName - name of the server to connect to
        serverPlatformURLRoot - the network address of the server running the OMAS REST servers
        serverUserId - this server's userId
        serverPassword - this server's userId
        maxPageSize - pre-initialized parameter limit
        auditLog - logging destination
        callerId - unique identifier of the caller
        Throws:
        InvalidParameterException - there is a problem with the information about the remote OMAS
      • ITInfrastructureEventClient

        public ITInfrastructureEventClient​(String serverName,
                                           String serverPlatformURLRoot,
                                           OCFRESTClient restClient,
                                           int maxPageSize,
                                           AuditLog auditLog,
                                           String callerId)
                                    throws InvalidParameterException
        Create a new client that is to be used within an OMAG Server.
        Parameters:
        serverName - name of the server to connect to
        serverPlatformURLRoot - the network address of the server running the OMAS REST servers
        restClient - pre-initialized REST client
        maxPageSize - pre-initialized parameter limit
        auditLog - logging destination
        callerId - unique identifier of the caller
        Throws:
        InvalidParameterException - there is a problem with the information about the remote OMAS