Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.messaging.transport
Class EndPoint

java.lang.Object
  |
  +--oracle.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.

Author:
jxiang

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

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.

equals

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

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.