Monitoring the port forwarder, Status, Statistics – Nortel Networks NN46120-104 User Manual

Page 283

Advertising
background image

Statistics

283

Monitoring the Port Forwarder

The Port Forwarder uses the Observer/Observable framework, meaning
that anyone wanting to have information from/about the Port Forwarder
can add a Listener to it. Currently, you can monitor Port Forwarder status
and statistics.

Note:

When using these features, it is important that the

Observer.update() function does not block.

Status

Monitoring the Port Forwarder status gives you the ability to always
know the state of the Port Forwarder, for example if it is ready to receive
connections. Following is an example of the code for monitoring the status
of the Port Forwarder.

Statistics

The Port Forwarder keeps track of all bytes passing through, allowing you
to display or use the information in any way. An added statistics listener
will receive a PortForwarderStatistics object either when a change has
occurred or at a defined interval.

Nortel VPN Gateway

User Guide

NN46120-104

02.01

Standard

14 April 2008

Copyright © 2007-2008 Nortel Networks

.

Advertising