Copernicus  2.0
 All Classes Namespaces Files Functions Variables
cpc.network.com.connection_base.ConnectionBase Class Reference
Inheritance diagram for cpc.network.com.connection_base.ConnectionBase:
cpc.network.com.client_connection.ClientConnectionBase cpc.network.com.server_connection.ServerConnection cpc.network.com.client_connection.UnverifiedClientConnection cpc.network.com.client_connection.VerifiedClientConnection cpc.server.message.direct_message.DirectServerMessage cpc.server.message.direct_message.PersistentServerMessage

Public Member Functions

def connect
 
def handleSocket
 
def prepareHeaders
 
def handleResponseHeaders
 
def sendRequest
 

Detailed Description

Abstract class
Responsible for sending a request and receiving a response

Member Function Documentation

def cpc.network.com.connection_base.ConnectionBase.connect (   self,
  host,
  port 
)
def cpc.network.com.connection_base.ConnectionBase.handleResponseHeaders (   self,
  response 
)
def cpc.network.com.connection_base.ConnectionBase.handleSocket (   self)
def cpc.network.com.connection_base.ConnectionBase.prepareHeaders (   self,
  request 
)
Creates and adds necessary headers for this connection type

inputs:
    request:ServerRequest
returns:
    ServerRequest
def cpc.network.com.connection_base.ConnectionBase.sendRequest (   self,
  req,
  method = "POST" 
)

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