/*
- * Copyright IBM Corporation, 2013. All rights reserved.
+ * Copyright (c) 2013, 2015 IBM Corporation and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* This interface defines the methods a service that wishes to be aware of Neutron Ports needs to implement
*
*/
-
+@Deprecated
public interface INeutronPortAware {
/**
* results in the create operation being interrupted and the returned status value reflected in the
* HTTP response.
*/
- public int canCreatePort(NeutronPort port);
+ int canCreatePort(NeutronPort port);
/**
* Services provide this interface method for taking action after a port has been created
* @param port
* instance of new Neutron Port object
*/
- public void neutronPortCreated(NeutronPort port);
+ void neutronPortCreated(NeutronPort port);
/**
* Services provide this interface method to indicate if the specified port can be changed using the specified
* results in the update operation being interrupted and the returned status value reflected in the
* HTTP response.
*/
- public int canUpdatePort(NeutronPort delta, NeutronPort original);
+ int canUpdatePort(NeutronPort delta, NeutronPort original);
/**
* Services provide this interface method for taking action after a port has been updated
* @param port
* instance of modified Neutron Port object
*/
- public void neutronPortUpdated(NeutronPort port);
+ void neutronPortUpdated(NeutronPort port);
/**
* Services provide this interface method to indicate if the specified port can be deleted
* results in the delete operation being interrupted and the returned status value reflected in the
* HTTP response.
*/
- public int canDeletePort(NeutronPort port);
+ int canDeletePort(NeutronPort port);
/**
* Services provide this interface method for taking action after a port has been deleted
* @param port
* instance of deleted Port Network object
*/
- public void neutronPortDeleted(NeutronPort port);
+ void neutronPortDeleted(NeutronPort port);
}