Package lib :: Package cuckoo :: Package common :: Module irc :: Class ircMessage
[hide private]
[frames] | no frames]

Class ircMessage

source code

object --+
         |
        ircMessage

IRC Protocol Request.

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_unpack(self, buf)
Extract into a list irc messages of a tcp streams.
source code
 
getClientMessages(self, buf)
Get irc client commands of tcp streams.
source code
 
getClientMessagesFilter(self, buf, filters)
Get irc client commands of tcp streams.
source code
 
getServerMessages(self, buf)
Get irc server commands of tcp streams.
source code
 
getServerMessagesFilter(self, buf, filters)
Get irc server commands of tcp streams.
source code
 
isthereIRC(self, buf)
Check if there is irc messages in a stream TCP.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  __methods_client = {'ADMIN': None, 'AWAY': None, 'CONNECT': No...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

getClientMessages(self, buf)

source code 

Get irc client commands of tcp streams.

Returns:
dictionary of the client messages

getClientMessagesFilter(self, buf, filters)

source code 

Get irc client commands of tcp streams.

Returns:
dictionary of the client messages filtered

getServerMessages(self, buf)

source code 

Get irc server commands of tcp streams.

Returns:
dictionary of server messages

getServerMessagesFilter(self, buf, filters)

source code 

Get irc server commands of tcp streams.

Returns:
dictionary of server messages filtered

isthereIRC(self, buf)

source code 

Check if there is irc messages in a stream TCP.

Returns:
boolean result

Class Variable Details [hide private]

__methods_client

Value:
{'ADMIN': None,
 'AWAY': None,
 'CONNECT': None,
 'DIE': None,
 'ERROR': None,
 'INFO': None,
 'INVITE': None,
 'ISON': None,
...