org.jclouds.net
Class IPSocket

java.lang.Object
  extended by org.jclouds.net.IPSocket
All Implemented Interfaces:
Serializable

public class IPSocket
extends Object
implements Serializable

As google appengine prohibits use of java.net classes, this will serve as a replacement.

Author:
Adrian Cole
See Also:
Serialized Form

Constructor Summary
IPSocket(String address, int port)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAddress()
           
 int getPort()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IPSocket

public IPSocket(String address,
                int port)
Method Detail

getAddress

public String getAddress()

getPort

public int getPort()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2011 jclouds. All Rights Reserved.