org.jclouds.cloudstack.functions
Class CreatePortForwardingRulesForIP

java.lang.Object
  extended by org.jclouds.cloudstack.functions.CreatePortForwardingRulesForIP

@Singleton
public class CreatePortForwardingRulesForIP
extends Object

Author:
Adrian Cole

Field Summary
protected  Logger logger
           
 
Constructor Summary
CreatePortForwardingRulesForIP(CloudStackClient client, BlockUntilJobCompletesAndReturnResult blockUntilJobCompletesAndReturnResult, com.google.common.cache.LoadingCache<Long,Set<IPForwardingRule>> getIPForwardingRulesByVirtualMachine)
           
 
Method Summary
 Set<IPForwardingRule> apply(PublicIPAddress ip, Iterable<Integer> ports)
           
 Set<IPForwardingRule> apply(PublicIPAddress ip, String protocol, Iterable<Integer> ports)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

@Named(value="jclouds.compute")
protected Logger logger
Constructor Detail

CreatePortForwardingRulesForIP

@Inject
public CreatePortForwardingRulesForIP(CloudStackClient client,
                                             BlockUntilJobCompletesAndReturnResult blockUntilJobCompletesAndReturnResult,
                                             com.google.common.cache.LoadingCache<Long,Set<IPForwardingRule>> getIPForwardingRulesByVirtualMachine)
Method Detail

apply

public Set<IPForwardingRule> apply(PublicIPAddress ip,
                                   Iterable<Integer> ports)

apply

public Set<IPForwardingRule> apply(PublicIPAddress ip,
                                   String protocol,
                                   Iterable<Integer> ports)


Copyright © 2009-2012 jclouds. All Rights Reserved.