Vega strike Python Modules doc
0.5.1
Documentation of the " Modules " folder of Vega strike
|
Public Member Functions | |
def | __init__ |
def | push |
def | collect_incoming_data |
def | found_terminator |
def | smtp_HELO |
def | smtp_NOOP |
def | smtp_QUIT |
def | smtp_MAIL |
def | smtp_RCPT |
def | smtp_RSET |
def | smtp_DATA |
![]() | |
def | __init__ |
def | set_terminator |
def | get_terminator |
def | handle_read |
def | handle_write |
def | handle_close |
def | push |
def | push_with_producer |
def | readable |
def | writable |
def | close_when_done |
def | refill_buffer |
def | initiate_send |
def | discard_buffers |
![]() | |
def | __init__ |
def | __repr__ |
def | add_channel |
def | del_channel |
def | create_socket |
def | set_socket |
Static Public Attributes | |
int | COMMAND = 0 |
int | DATA = 1 |
![]() | |
int | ac_in_buffer_size = 4096 |
int | ac_out_buffer_size = 4096 |
![]() | |
int | debug = 0 |
int | connected = 0 |
int | accepting = 0 |
int | closing = 0 |
addr = None | |
Additional Inherited Members | |
![]() | |
ac_in_buffer | |
ac_out_buffer | |
producer_fifo | |
terminator | |
def __init__ | ( | self, | |
server, | |||
conn, | |||
addr | |||
) |
Definition at line 112 of file smtpd.py.
References SMTPChannel.__addr, SMTPChannel.__conn, SMTPChannel.__data, _Printer.__data, SMTPChannel.__fqdn, SMTPChannel.__greeting, async_chat.__init__(), SMTPChannel.__line, SMTPChannel.__mailfrom, SMTPChannel.__peer, SMTPChannel.__rcpttos, SMTPChannel.__server, SMTPChannel.__state, HTTPConnection.__state, SMTPChannel.COMMAND, socket.getfqdn(), async_chat.push(), and async_chat.set_terminator().
def collect_incoming_data | ( | self, | |
data | |||
) |
def found_terminator | ( | self) |
Definition at line 138 of file smtpd.py.
References SMTPChannel.__data, _Printer.__data, SMTPChannel.__line, SMTPChannel.__mailfrom, SMTPChannel.__peer, SMTPChannel.__rcpttos, SMTPChannel.__state, HTTPConnection.__state, SMTPChannel.COMMAND, SMTPChannel.DATA, async_chat.push(), async_chat.set_terminator(), string.strip(), and string.upper().
def push | ( | self, | |
msg | |||
) |
Definition at line 130 of file smtpd.py.
References async_chat.push().
def smtp_DATA | ( | self, | |
arg | |||
) |
Definition at line 262 of file smtpd.py.
References SMTPChannel.__rcpttos, SMTPChannel.__state, HTTPConnection.__state, SMTPChannel.DATA, async_chat.push(), and async_chat.set_terminator().
def smtp_HELO | ( | self, | |
arg | |||
) |
Definition at line 187 of file smtpd.py.
References SMTPChannel.__fqdn, SMTPChannel.__greeting, and async_chat.push().
def smtp_MAIL | ( | self, | |
arg | |||
) |
Definition at line 222 of file smtpd.py.
References SMTPChannel.__getaddr(), SMTPChannel.__mailfrom, and async_chat.push().
def smtp_NOOP | ( | self, | |
arg | |||
) |
def smtp_QUIT | ( | self, | |
arg | |||
) |
Definition at line 203 of file smtpd.py.
References async_chat.close_when_done(), async_chat.push(), string.strip(), and string.upper().
def smtp_RCPT | ( | self, | |
arg | |||
) |
Definition at line 235 of file smtpd.py.
References SMTPChannel.__getaddr(), SMTPChannel.__mailfrom, SMTPChannel.__rcpttos, and async_chat.push().
def smtp_RSET | ( | self, | |
arg | |||
) |
Definition at line 251 of file smtpd.py.
References SMTPChannel.__data, _Printer.__data, SMTPChannel.__mailfrom, SMTPChannel.__rcpttos, SMTPChannel.__state, HTTPConnection.__state, SMTPChannel.COMMAND, and async_chat.push().