Table of contents Index

class DatagramProxy - Base class for datagram based protocols.

Declared in module Proxy

Inheritance hierarchy:

Proxy.DatagramProxy
  Zorp.ZorpProxy

Synopsis

class DatagramProxy(ZorpProxy):
    def Proxy.DatagramProxy.__init__(self, name, session) # Initializes a DatagramProxy instance.

    # Inherited from Zorp.ZorpProxy
    def Zorp.ZorpProxy.__init__(self, name, session_id, client_stream) # Initialize a low level proxy instance.

None session = None

Description

This class is similar to Proxy with the exception that it's used for datagram based protocols.



Proxy.DatagramProxy.__init__(self, name, session)

Initializes a DatagramProxy instance.

self
this instance
name
The type of the proxy
session
The descriptor of the connection

Sets attributes based on arguments.


Copyright © 2000 BalaBit IT Ltd.
Written by: Balázs Scheidler