Table of contents Index

class Receive

Declared in module Receiver

Synopsis

class Receive:
    def Receiver.Receive.__init__(self, bindto, service) # Initializes a Receive instance.
    def Receiver.Receive.destroy(self) # Destroys the receiver

None listen = None
None service = None

Description

Base class for datagram listeners to be used with datagram oriented proxies.

Wrapper for the ZorpReceiver class implemented in C.

Attributes:

listen
the low-level receiver object
service
the service to start
session
the session data

Notes:

FIXME: clean this up

Receiver.Receive.__init__(self, bindto, service)

Initializes a Receive instance.

bindto
the address to bind to service -- the service to start for incoming datagrams
FIXME: from 0.7 we get the session, does not create it

Receiver.Receive.destroy(self)

Destroys the receiver

Arguments: noneNotes: calls the destroy method of teh low-level object
Copyright © 2000 BalaBit IT Ltd.
Written by: Balázs Scheidler