org.jboss.messaging.core.client.impl
Class LocationImpl
java.lang.Object
org.jboss.messaging.core.client.impl.LocationImpl
- All Implemented Interfaces:
- java.io.Serializable, Location
public class LocationImpl
- extends java.lang.Object
- implements Location
- Author:
- Andy Taylor, Tim Fox
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
transport
protected TransportType transport
host
protected java.lang.String host
port
protected int port
LocationImpl
public LocationImpl(int serverID)
LocationImpl
public LocationImpl(TransportType transport,
java.lang.String host,
int port)
getLocation
public java.lang.String getLocation()
- Specified by:
getLocation
in interface Location
getTransport
public TransportType getTransport()
- Specified by:
getTransport
in interface Location
getHost
public java.lang.String getHost()
- Specified by:
getHost
in interface Location
getPort
public int getPort()
- Specified by:
getPort
in interface Location
getServerID
public int getServerID()
- Specified by:
getServerID
in interface Location
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class java.lang.Object
Copyright © 2006 JBoss Inc. All Rights Reserved.