TibrvIPPort

Class

Declaration

class com.tibco.tibrv.TibrvIPPort
  extends java.lang.Object

Purpose

Represent an IP port number.

Remarks

In general, an IP Port number is an unsigned 16-bit integer [0;65535], in network byte order. This class represents a port number as a 32-bit integer, because Java does not support unsigned numbers.

This class has no destroy() method. Instead, the Java garbage collector reclaims storage automatically.

Constant

Description

TibrvIPPort.MAX_PORT

Maximum port number that this class can represent (65535).

TibrvIPPort.MIN_PORT

Minimum port number that this class can represent (zero).

Method

Description

TibrvIPPort()

Create an IP port object.

TibrvIPPort.getPort()

Get an IP port as a 32-bit integer.

TibrvIPPort.getAsBytes()

Get an IP port as a 2-byte array.

Inherited Methods

java.lang.Object.equals

java.lang.Object.getClass

java.lang.Object.hashCode

java.lang.Object.notify

java.lang.Object.notifyAll

java.lang.Object.toString (override)

java.lang.Object.wait

See Also

TibrvMsg.get()