|
SecurePlayLibray J2SE v2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.SecurePlay.Comms.SPCGenericCommsServer.SPCGenericCommsDriverClass
com.SecurePlay.Comms.SPCcommsTCP.SPCcommsTCP
com.SecurePlay.Comms.SPCcommsHTTP.SPCcommsHTTP
HTTP comms class is an extention of a SPCcommsTCP class. This class supports HTTP.

| Field Summary |
| Fields inherited from class com.SecurePlay.Comms.SPCcommsTCP.SPCcommsTCP |
listen, listeners, socketConnections, uniqueAddress |
| Fields inherited from class com.SecurePlay.Comms.SPCGenericCommsServer.SPCGenericCommsDriverClass |
commsServer |
| Constructor Summary | |
SPCcommsHTTP(boolean push,
boolean relay)
Constructor. |
|
| Method Summary | |
boolean |
createConnection(java.lang.String address,
int portIN)
Creates a connection. |
boolean |
createConnection(java.lang.String address,
java.net.Socket socket)
Creates a connection. |
java.lang.String |
getCommsDriverType()
This method returns the driver type. |
boolean |
removeConnection(java.lang.String address)
Removes the connection and closes the connection class. |
void |
SPincoming(java.lang.String message)
Incoming method that recieves a byte[] and deserializes it and processes it. |
| Methods inherited from class com.SecurePlay.Comms.SPCcommsTCP.SPCcommsTCP |
containsUniqueAddress, getAddress, getListenerCount, isListen, isReady, numConnections, prsend, 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, SPincoming, SPserialize, SPserialize |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SPCcommsHTTP(boolean push,
boolean relay)
| Method Detail |
public boolean removeConnection(java.lang.String address)
removeConnection in class SPCcommsTCPaddress - String - connection to be closed.
public boolean createConnection(java.lang.String address,
int portIN)
throws java.io.IOException
createConnection in class SPCcommsTCPjava.io.IOExceptionaddress - String - address to which the connection will be created.portIN - int - port number through which to send messages.
public boolean createConnection(java.lang.String address,
java.net.Socket socket)
throws java.io.IOException
createConnection in class SPCcommsTCPjava.io.IOExceptionaddress - String - address to which the connection will be created.socket - Socket - socket.
public java.lang.String getCommsDriverType()
getCommsDriverType in class SPCcommsTCPpublic void SPincoming(java.lang.String message)
message - byte[] - byte array that is incoming.
void
|
SecurePlayLibray J2SE v2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||