Package org.jclouds.cloudstack.functions
Class CreatePortForwardingRulesForIP
- java.lang.Object
-
- org.jclouds.cloudstack.functions.CreatePortForwardingRulesForIP
-
@Singleton public class CreatePortForwardingRulesForIP extends Object
-
-
Constructor Summary
Constructors Constructor Description CreatePortForwardingRulesForIP(CloudStackApi client, BlockUntilJobCompletesAndReturnResult blockUntilJobCompletesAndReturnResult, com.google.common.cache.LoadingCache<String,Set<IPForwardingRule>> getIPForwardingRulesByVirtualMachine)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<IPForwardingRule>
apply(PublicIPAddress ip, Iterable<Integer> ports)
Set<IPForwardingRule>
apply(PublicIPAddress ip, String protocol, Iterable<Integer> ports)
-
-
-
Field Detail
-
logger
@Named("jclouds.compute") protected Logger logger
-
-
Constructor Detail
-
CreatePortForwardingRulesForIP
@Inject public CreatePortForwardingRulesForIP(CloudStackApi client, BlockUntilJobCompletesAndReturnResult blockUntilJobCompletesAndReturnResult, com.google.common.cache.LoadingCache<String,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)
-
-