com.h3c.sdn.api

## Interface AlertTransferService

-     public interface AlertTransferService

  Service for transportation of alerts between team members.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Pair<List<Alert>,DataSize>` | `get(SystemInformation self, SystemInformation system, Date from)` Requests alerts from the given system.
    `void` | `send(List<Alert> alerts)` Add an alert to be shared with other team members.
    `void` | `update(boolean state, Map<String,List<String>> sysidToUidMap)` Update the set of alerts represented by unique identifiers to the given state.

- - ### Method Detail

    - #### send

          void send(List<Alert> alerts)

      Add an alert to be shared with other team members.
      Parameters:
        `alerts` - the `List` of `Alert` to send.

    - #### update

          void update(boolean state,
                    Map<String,List<String>> sysidToUidMap)

      Update the set of alerts represented by unique identifiers to the given state.
      Parameters:
        `state` - the desired state
        `sysidToUidMap` - the map of system identifier to alert identifier

    - #### get

          Pair<List<Alert>,DataSize> get(SystemInformation self,
                                       SystemInformation system,
                                       Date from)
                                         throws Exception

      Requests alerts from the given system.
      Parameters:
        `self` - self system
        `system` - controller to get the alerts from
        `from` - oldest date for the alerts to return (start time)
      Returns:
        alerts
      Throws:
        `Exception` - if errors occur while fetching data

Copyright © 2014. All Rights Reserved.