GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  NET::SIP::NATHELPER::LOCAL (3)

.ds Aq ’

NAME

Net::SIP::NATHelper::Local - handle NAT/RTP forwarding in local event loop.

CONTENTS

DESCRIPTION

This module is a wrapper around Net::SIP::NATHelper::Base which will handle the RTP forwarding within the local event loop the rest of Net::SIP uses.

CONSTRUCTOR

new ( LOOP ) Will create the object and tell it to use LOOP as the event loop. Will create a Net::SIP::NATHelper::Base object which gets used internally.

METHODS

allocate_sockets ( ... ) Calls <B>allocate_socketsB> of the local Net::SIP::NATHelper::Base object. Takes and returns the same arguments.
activate_session ( ... ) Calls <B>activate_sessionB> of the local Net::SIP::NATHelper::Base object. Takes the same arguments and returns 1 if the session was newly activated, -1 if it was activated before and false if activation failed. Updates callbacks into the event loop.
close_session ( ... ) Calls <B>activate_sessionB> of the local Net::SIP::NATHelper::Base object. Takes the same arguments and returns the number of closed sessions. Updates callbacks into the event loop.
expire ( ... ) Calls <B>expireB> of the local Net::SIP::NATHelper::Base object. Takes the same arguments and returns the number of expired sessions. Updates callbacks into the event loop if necessary.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 NET::SIP::NATHELPER::LOCAL (3) 2009-01-23

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.