Package com.cloud.api.response

Examples of com.cloud.api.response.TrafficTypeImplementorResponse


          ResourceAllocationException {
    List<Pair<TrafficType, String>> results = _networkService.listTrafficTypeImplementor(this);
    ListResponse<TrafficTypeImplementorResponse> response = new ListResponse<TrafficTypeImplementorResponse>();
    List<TrafficTypeImplementorResponse> responses= new ArrayList<TrafficTypeImplementorResponse>();
    for (Pair<TrafficType, String> r : results) {
      TrafficTypeImplementorResponse p = new TrafficTypeImplementorResponse();
      p.setTrafficType(r.first().toString());
      p.setImplementor(r.second());
      p.setObjectName("traffictypeimplementorresponse");
      responses.add(p);
    }
   
    response.setResponses(responses);
    response.setResponseName(getCommandName());
View Full Code Here

TOP

Related Classes of com.cloud.api.response.TrafficTypeImplementorResponse

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.