org.rhq.plugins.jmx.util
Class Socket
java.lang.Object
org.rhq.plugins.jmx.util.Socket
- All Implemented Interfaces:
- Comparable<Socket>
public class Socket
- extends Object
- implements Comparable<Socket>
- Author:
- Ian Springer
Socket
public Socket(Socket.Protocol protocol,
String host,
long port)
valueOf
public static Socket valueOf(String string)
getProtocol
public Socket.Protocol getProtocol()
getHost
public String getHost()
getPort
public long getPort()
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
compareTo
public int compareTo(Socket that)
- Specified by:
compareTo in interface Comparable<Socket>
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.