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::SPCcommsHTTP Class Reference

#include <SPCcommsHTTP.h>

Inheritance diagram for SecurePlayLibrary::SPCcommsHTTP:

SecurePlayLibrary::SPCcommsTCP SecurePlayLibrary::SPCGenericCommsDriverClass SecurePlayLibrary::SPCcommsHTTPclient SecurePlayLibrary::SPCcommsHTTPserver List of all members.

Public Member Functions

 SPCcommsHTTP (bool push, bool relay)
bool removeConnection (string address)
bool createConnection (string address, int portIN)
bool createConnection (string address, Socket socket)
string getCommsDriverType ()
void SPincoming (string message)

Detailed Description

HTTP comms class is an extention of a SPCcommsTCP class. This class supports HTTP.
Author:
IT GlobalSecure
See also:
SecurePlay License Information


Constructor & Destructor Documentation

SPCcommsHTTP::SPCcommsHTTP bool  push,
bool  relay
 

Constructor.


Member Function Documentation

bool SPCcommsHTTP::createConnection string  address,
Socket  socket
 

Creates a connection.

Parameters:
address String - address to which the connection will be created.
socket Socket - socket.
Returns:
boolean
Exceptions:
IOException 

Reimplemented from SecurePlayLibrary::SPCcommsTCP.

Reimplemented in SecurePlayLibrary::SPCcommsHTTPclient.

bool SPCcommsHTTP::createConnection string  address,
int  portIN
 

Creates a connection.

Parameters:
address String - address to which the connection will be created.
portIN int - port number through which to send messages.
Returns:
boolean
Exceptions:
IOException 

Reimplemented from SecurePlayLibrary::SPCcommsTCP.

Reimplemented in SecurePlayLibrary::SPCcommsHTTPserver.

string SPCcommsHTTP::getCommsDriverType  ) 
 

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

Returns:
String

Reimplemented from SecurePlayLibrary::SPCcommsTCP.

Reimplemented in SecurePlayLibrary::SPCcommsHTTPclient, and SecurePlayLibrary::SPCcommsHTTPserver.

bool SPCcommsHTTP::removeConnection string  address  ) 
 

Removes the connection and closes the connection class.

Parameters:
address String - connection to be closed.
Returns:
boolean

Reimplemented from SecurePlayLibrary::SPCcommsTCP.

void SPCcommsHTTP::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 in SecurePlayLibrary::SPCcommsHTTPclient, and SecurePlayLibrary::SPCcommsHTTPserver.


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.