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.
SecurePlayLibrary::SPCcommsTCP Class Reference
#include <SPCcommsTCP.h>
Inheritance diagram for SecurePlayLibrary::SPCcommsTCP:
List of all members.
Detailed Description
TCP comms class is an extention of a GenericCommsDriver class. This class supports TCP. - Author:
- IT GlobalSecure
- See also:
- SecurePlay License Information
Constructor & Destructor Documentation
| SPCcommsTCP::SPCcommsTCP |
( |
|
) |
|
|
| SPCcommsTCP::SPCcommsTCP |
( |
bool |
push, |
|
|
bool |
relay |
|
) |
|
|
Member Function Documentation
| bool SPCcommsTCP::containsUniqueAddress |
( |
InetAddress |
add |
) |
|
|
|
|
Checks to see if the unique address exists in this driver. - Parameters:
-
| add | InetAddress - address to be checked |
- Returns:
- boolean
|
| bool SPCcommsTCP::createConnection |
( |
string |
address, |
|
|
Socket |
socket |
|
) |
|
|
| bool SPCcommsTCP::createConnection |
( |
string |
address, |
|
|
int |
portIN |
|
) |
|
|
| string SPCcommsTCP::getAddress |
( |
InetAddress |
add |
) |
|
|
|
|
Checks to see if the unique address exists in this driver. - Parameters:
-
| add | InetAddress - address to be checked |
- Returns:
- String
|
| string SPCcommsTCP::getCommsDriverType |
( |
|
) |
|
|
| int SPCcommsTCP::getListenerCount |
( |
|
) |
|
|
|
|
Returns the number of listeners this driver has. - Returns:
- int
|
| bool SPCcommsTCP::isListen |
( |
|
) |
|
|
|
|
Returns the listener flag. - Returns:
- boolean
|
| bool SPCcommsTCP::isReady |
( |
|
) |
|
|
| int SPCcommsTCP::numConnections |
( |
|
) |
|
|
|
|
Returns number of connections available. - Returns:
- int
|
| bool SPCcommsTCP::prsend |
( |
string |
address, |
|
|
vector< SPbyte > |
messages |
|
) |
|
|
| bool SPCcommsTCP::removeConnection |
( |
string |
address |
) |
|
|
|
|
Removes the connection and closes the connection class. - Parameters:
-
| address | String - connection to be closed. |
- Returns:
- boolean
Reimplemented in SecurePlayLibrary::SPCcommsHTTP. |
| bool SPCcommsTCP::setUniqueAddress |
( |
string |
address, |
|
|
InetAddress |
uniqueAddress |
|
) |
|
|
|
|
Sets a unique address and associates it with an address. - Parameters:
-
| address | String - address |
| uniqueAddress | InetAddress - unique address that gets associated with the address. |
- Returns:
- boolean
|
| bool SPCcommsTCP::StartListen |
( |
int |
portIN |
) |
|
|
| void SPCcommsTCP::StopListen |
( |
|
) |
|
|
| bool SPCcommsTCP::unsetUniqueAddress |
( |
string |
address |
) |
|
|
|
|
Unsets a unique address. - Parameters:
-
| address | String - address associated with the unique address. |
- Returns:
- boolean
|
Member Data Documentation
|
|
Flag to continue to listen to a port. |
|
|
Stores all the listeners that this driver has. |
|
|
Map that contains all the connections this driver has made. map<address, SocketConnection> |
|
|
Map that contains the common address that SPL uses and the unique address that TCP uses. map<address, uniqueAddress> |
The documentation for this class was generated from the following files:
- D:/SecurePlayLibrary/060216_SecurePlayLibrary_3_1_baseline/CPP/src/SPCcommsTCP.h
- D:/SecurePlayLibrary/060216_SecurePlayLibrary_3_1_baseline/CPP/src/SPCcommsTCP.cpp
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.