2006 Copyright Filed by IT GlobalSecure, Inc. All Rights Reserved. Not to be used without authorization by Author. SecurePlay, IT GlobalSecure, and IT Armor are registered trademarks by IT GlobalSecure, Inc. Software protected by software license, and one or more the following U.S. and International patent numbers: U.S. Patent 6,030,288, U.S. Patent 6,165,072, European Patent Office EP1016049A1,and World Intellectual Property Organization WO9912135C1 and additional filings worldwide.
Main Page | Class Hierarchy | Class List | Class Members

SecurePlayLibrary::SPCcommsHTTPserver Class Reference

#include <SPCcommsHTTPserver.h>

Inheritance diagram for SecurePlayLibrary::SPCcommsHTTPserver:

SecurePlayLibrary::SPCcommsHTTP SecurePlayLibrary::SPCcommsTCP SecurePlayLibrary::SPCGenericCommsDriverClass List of all members.

Public Member Functions

 SPCcommsHTTPserver (bool relay)
string getCommsDriverType ()
bool createConnection (string address, int portIN)
bool prsend (string address, vector< SPbyte > messages)
void SPincoming (string message)

Detailed Description

Simple HTTP server class. Extends from basic HTTP class and overrides and configures the class to be server.
Author:
IT GlobalSecuren
See also:
SecurePlay License Information


Constructor & Destructor Documentation

SPCcommsHTTPserver::SPCcommsHTTPserver bool  relay  ) 
 

Wraps SPCcommsHTTP constructor.

Parameters:
relay boolean - flag to set relay or no relay.


Member Function Documentation

bool SPCcommsHTTPserver::createConnection string  address,
int  portIN
 

Override. This is a client, it does create connections, it only accepts or adds connections.

Parameters:
address String - NOT USED.
portIN int - NOT USED.
Returns:
boolean
Exceptions:
IOException 

Reimplemented from SecurePlayLibrary::SPCcommsHTTP.

string SPCcommsHTTPserver::getCommsDriverType  ) 
 

This method returns the driver type. It will be overridden with specific driver type.

Returns:
String

Reimplemented from SecurePlayLibrary::SPCcommsHTTP.

bool SPCcommsHTTPserver::prsend string  address,
vector< SPbyte >  messages
 

Sends the message.

Parameters:
address String - address that this message is sent to.
messages byte[] - messages void

Reimplemented from SecurePlayLibrary::SPCcommsTCP.

void SPCcommsHTTPserver::SPincoming string  message  ) 
 

Incoming method that recieves a byte[] and deserializes it and processes it.

Parameters:
message byte[] - byte array that is incoming. void

Reimplemented from SecurePlayLibrary::SPCcommsHTTP.


The documentation for this class was generated from the following files: 2006 Copyright Filed by IT GlobalSecure, Inc. All Rights Reserved. Not to be used without authorization by Author. SecurePlay, IT GlobalSecure, and IT Armor are registered trademarks by IT GlobalSecure, Inc. Software protected by software license, and one or more the following U.S. and International patent numbers: U.S. Patent 6,030,288, U.S. Patent 6,165,072, European Patent Office EP1016049A1,and World Intellectual Property Organization WO9912135C1 and additional filings worldwide.