/** * Constructs a deleteService event for the given nodeId, ipAddress, * serviceName triple. * * @param source * the source for the event * @param nodeId * the nodeId of the node that service resides on * @param ipAddr * the ipAddress of the interface the service resides on * @param service * the service that is being deleted * @param txNo * the transaction number to use for processing this event * @return an Event representing a deleteInterface event for the given * nodeId, ipaddr */ public static Event createDeleteServiceEvent(String source, long nodeId, String ipAddr, String service, long txNo) { return createServiceEventBuilder(EventConstants.DELETE_SERVICE_EVENT_UEI, source, nodeId, ipAddr, service, txNo).getEvent(); }