com.SecurePlay.Comms.SPCcommsTCP
Class SPCcommsTCPserver
java.lang.Object
com.SecurePlay.Comms.SPCGenericCommsServer.SPCGenericCommsDriverClass
com.SecurePlay.Comms.SPCcommsTCP.SPCcommsTCP
com.SecurePlay.Comms.SPCcommsTCP.SPCcommsTCPserver
- public class SPCcommsTCPserver
- extends SPCcommsTCP
Simple TCP server class. Extends from basic TCP class and overrides
and configures the class to be server.
- Author:
- IT GlobalSecure
- See Also:
- SecurePlay License Information
-

|
Method Summary |
boolean |
createConnection(java.lang.String address,
int portIN)
Override. |
java.lang.String |
getCommsDriverType()
This method returns the driver type.
|
void |
SPincoming(byte[] message)
Incoming method that recieves a byte[] and deserializes it and processes it. |
| Methods inherited from class com.SecurePlay.Comms.SPCcommsTCP.SPCcommsTCP |
containsUniqueAddress, createConnection, getAddress, getListenerCount, isListen, isReady, numConnections, prsend, removeConnection, setUniqueAddress, StartListen, StopListen, unsetUniqueAddress |
| Methods inherited from class com.SecurePlay.Comms.SPCGenericCommsServer.SPCGenericCommsDriverClass |
addAddress, addressSupportsRelay, clearAddresses, containsAddress, getAddressList, getServer, isConfigured, isPush, isRelay, MessArrAddMessArr, prpoll, removeAddress, sendFromQMessages, sendMessage, SPdeserializeProcessByteArr, SPserialize, SPserialize |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
closeAfterOneMess
public boolean closeAfterOneMess
SPCcommsTCPserver
public SPCcommsTCPserver(boolean relay)
- Constructor.
createConnection
public boolean createConnection(java.lang.String address,
int portIN)
throws java.io.IOException
- Override. This is a client, it does create connections, it only accepts or adds connections.
- Overrides:
createConnection in class SPCcommsTCP
- Throws:
java.io.IOException- Parameters:
address - String - NOT USED.portIN - int - NOT USED.
- Returns:
- boolean
getCommsDriverType
public java.lang.String getCommsDriverType()
- This method returns the driver type.
It will be overridden with specific driver type.
- Overrides:
getCommsDriverType in class SPCcommsTCP
- Returns:
- String
SPincoming
public void SPincoming(byte[] message)
- Incoming method that recieves a byte[] and deserializes it and processes it.
- Overrides:
SPincoming in class SPCGenericCommsDriverClass
- Parameters:
message - byte[] - byte array that is incoming.
void
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.