HCE Project Python language Distributed Tasks Manager Application, Distributed Crawler Application and client API bindings.  2.0.0-chaika
Hierarchical Cluster Engine Python language binding
dc.EventObjects.Content Class Reference
Inheritance diagram for dc.EventObjects.Content:
Collaboration diagram for dc.EventObjects.Content:

Public Member Functions

def __init__ (self, contentBuffer, cDate=0, typeId=CONTENT_RAW_CONTENT)
 
- Public Member Functions inherited from app.Utils.JsonSerializable
def __init__ (self)
 
def toJSON (self)
 

Public Attributes

 buffer
 
 cDate
 
 typeId
 

Static Public Attributes

int CONTENT_RAW_CONTENT = 0
 
int CONTENT_TIDY_CONTENT = 1
 
int CONTENT_HEADERS_CONTENT = 2
 
int CONTENT_REQUESTS_CONTENT = 3
 
int CONTENT_META_CONTENT = 4
 
int CONTENT_COOKIES_CONTENT = 5
 
int CONTENT_DYNAMIC_CONTENT = 9
 
int CONTENT_PROCESSOR_CONTENT = 10
 
int CONTENT_CHAIN_PARTS = 11
 

Additional Inherited Members

- Static Public Member Functions inherited from app.Utils.JsonSerializable
def json_serial (obj)
 

Detailed Description

Definition at line 969 of file EventObjects.py.

Constructor & Destructor Documentation

◆ __init__()

def dc.EventObjects.Content.__init__ (   self,
  contentBuffer,
  cDate = 0,
  typeId = CONTENT_RAW_CONTENT 
)

Definition at line 986 of file EventObjects.py.

986  def __init__(self, contentBuffer, cDate=0, typeId=CONTENT_RAW_CONTENT):
987  super(Content, self).__init__()
988  # Init buffer
989  self.buffer = contentBuffer
990  # Init creation date
991  self.cDate = cDate
992  # Contents type
993  self.typeId = typeId
994 
995 
996 
997 # #URLContentResponse event object
998 #
999 # The URLContentResponse event object response on get URL's content operation.
1000 #
def __init__(self)
constructor
Definition: UIDGenerator.py:19

Member Data Documentation

◆ buffer

dc.EventObjects.Content.buffer

Definition at line 989 of file EventObjects.py.

◆ cDate

dc.EventObjects.Content.cDate

Definition at line 991 of file EventObjects.py.

◆ CONTENT_CHAIN_PARTS

int dc.EventObjects.Content.CONTENT_CHAIN_PARTS = 11
static

Definition at line 979 of file EventObjects.py.

◆ CONTENT_COOKIES_CONTENT

int dc.EventObjects.Content.CONTENT_COOKIES_CONTENT = 5
static

Definition at line 976 of file EventObjects.py.

◆ CONTENT_DYNAMIC_CONTENT

int dc.EventObjects.Content.CONTENT_DYNAMIC_CONTENT = 9
static

Definition at line 977 of file EventObjects.py.

◆ CONTENT_HEADERS_CONTENT

int dc.EventObjects.Content.CONTENT_HEADERS_CONTENT = 2
static

Definition at line 973 of file EventObjects.py.

◆ CONTENT_META_CONTENT

int dc.EventObjects.Content.CONTENT_META_CONTENT = 4
static

Definition at line 975 of file EventObjects.py.

◆ CONTENT_PROCESSOR_CONTENT

int dc.EventObjects.Content.CONTENT_PROCESSOR_CONTENT = 10
static

Definition at line 978 of file EventObjects.py.

◆ CONTENT_RAW_CONTENT

int dc.EventObjects.Content.CONTENT_RAW_CONTENT = 0
static

Definition at line 971 of file EventObjects.py.

◆ CONTENT_REQUESTS_CONTENT

int dc.EventObjects.Content.CONTENT_REQUESTS_CONTENT = 3
static

Definition at line 974 of file EventObjects.py.

◆ CONTENT_TIDY_CONTENT

int dc.EventObjects.Content.CONTENT_TIDY_CONTENT = 1
static

Definition at line 972 of file EventObjects.py.

◆ typeId

dc.EventObjects.Content.typeId

Definition at line 993 of file EventObjects.py.


The documentation for this class was generated from the following file: