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
.
Содержание NN46120-104
Страница 1: ...Nortel VPN Gateway User Guide Release 7 1 Document Revision 02 01 www nortel com NN46120 104 216368 G...
Страница 277: ...Example 277 Nortel VPN Gateway User Guide NN46120 104 02 01 Standard 14 April 2008 Copyright 2007 2008 Nortel Networks...
Страница 281: ...Example 281 Nortel VPN Gateway User Guide NN46120 104 02 01 Standard 14 April 2008 Copyright 2007 2008 Nortel Networks...
Страница 299: ......