Open topic with navigation

TIBCO Rendezvous® 8.7.0

# 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()

Subtopics

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Rendezvous®

Copyright © 1997-2023. Cloud Software Group, Inc. All Rights Reserved.