org.jclouds.predicates
Class InetSocketAddressConnect

java.lang.Object
  extended by org.jclouds.predicates.InetSocketAddressConnect
All Implemented Interfaces:
com.google.common.base.Predicate<IPSocket>, SocketOpen

@Singleton
public class InetSocketAddressConnect
extends Object
implements SocketOpen

Tests to see if a socket is open.

Author:
Adrian Cole

Field Summary
protected  Logger logger
           
 
Constructor Summary
InetSocketAddressConnect()
           
 
Method Summary
 boolean apply(IPSocket socketA)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Predicate
equals
 

Field Detail

logger

protected Logger logger
Constructor Detail

InetSocketAddressConnect

public InetSocketAddressConnect()
Method Detail

apply

public boolean apply(IPSocket socketA)
Specified by:
apply in interface com.google.common.base.Predicate<IPSocket>


Copyright © 2009-2011 jclouds. All Rights Reserved.