Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.messaging.transport
Class EndPoint

java.lang.Object
  extended byoracle.panama.messaging.transport.EndPoint


public class EndPoint
extends java.lang.Object

The end point class contains both an address and its delivery type, which can uniquely identify an end point.


Constructor Summary
EndPoint(java.lang.String address, java.lang.String type)
Constructor.

Method Summary
boolean equals(java.lang.Object o)
Check the equality.
java.lang.String getAddress()
Get the address of the end point.
java.lang.String getDeliveryType()
Get the delivery type.

Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

EndPoint

public EndPoint(java.lang.String address,
                java.lang.String type)
Constructor.
Parameters:
address - the address.
type - the delivery type.

Method Detail

equals

public boolean equals(java.lang.Object o)
Check the equality.
Parameters:
o - the object to check.
Returns:
true if o is an EndPoint and has the same delivery type and address.

getAddress

public java.lang.String getAddress()
Get the address of the end point.
Returns:
the address.

getDeliveryType

public java.lang.String getDeliveryType()
Get the delivery type.
Returns:
the delivery type.

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.