NeighborInterface.isCompressed()
Method
Declaration
booleanisCompressed()
throws java.lang.UnsupportedOperationException
Purpose
Get the data compression flag of the neighbor interface.
Remarks
This method returns a value that reflects communications between the local router and its neighbor (which the NeighborInterface object describes):
| • | true indicates that this neighbor interface compresses outbound data and uncompresses inbound data. |
| • | false indicates that this neighbor interface does not compress data. |
Notice that it is inconsistent for one neighbor to compress data while the other does not. Neighbors must agree concerning compression, otherwise they cannot establish a connection.
Rendezvous routing daemons support data compression in release 7.1 and later; earlier releases do not. When the routing daemon does not support data compression (as with rvrd from release 7.0), this method throws java.lang.UnsupportedOperationException.
See Also
Router.addAcceptAnyInterface()
For the corresponding browser page, see Neighbor Interfaces in
For background information, see Data Compression in