ipserver.service package

IpServer’s Module Index

ipserver.service.args_builder module

class ArgsBuilder(config, pipeline)

Bases: object

parse()

ipserver.service.dumpfile module

class DumpFile(pipeline)

Bases: object

get_file_num()
get_filename(conn_sock, direction, ext='.dat')
get_path()
initialize(dirname)
write(conn_sock, direction, binary)

ipserver.service.forwarding_socket module

class ForwardingSocket(args, socket=None)

Bases: object

close()
create_parsed_url(forwarding)
initialize()
is_connected()
parse_destination(forwarding)
receive(buf)
send(binary)

ipserver.service.view_helper module

class ViewHelper

Bases: object

accepted(conn_sock)
closed_socket(conn_sock)
create_message(message, conn_sock)
forwarding_receive(binary, forwarding_socket, conn_sock)
forwarding_send(binary, forwarding_socket, conn_sock)
classmethod get_instance()
info(v)
initialize(data_output, args)
line(v)
output_data(binary)
output_error(e, prefix='', suffix='')
output_info(msg, prefix_nl=True)
output_line(msg, prefix_nl=True)
output_logging(msg)
output_message(message, conn_sock, warn=True)
output_warn(msg, prefix_nl=True)
print(v)
receive(binary, conn_sock)
send(binary, conn_sock)
show_bulk_mode()
show_conn_sock(conn_sock)
show_head(args)
show_help()
show_version()
stopped()
warn(v)