protected void stopTunnel(String serviceName) throws CoreException { CaldecottTunnelHandler handler = new CaldecottTunnelHandler(cloudServer); handler.stopAndDeleteCaldecottTunnel(serviceName, new NullProgressMonitor()); }
protected void assertNoTunnel(String serviceName) throws Exception { CaldecottTunnelHandler handler = new CaldecottTunnelHandler(cloudServer); assertFalse(handler.hasCaldecottTunnel(serviceName)); }
protected CaldecottTunnelDescriptor createCaldecottTunnel(String serviceName) throws CoreException { CaldecottTunnelHandler handler = new CaldecottTunnelHandler(cloudServer); return handler.startCaldecottTunnel(serviceName, new NullProgressMonitor()); }