public class TcpCaptureServer extends Object
| Constructor and Description |
|---|
TcpCaptureServer() |
| Modifier and Type | Method and Description |
|---|---|
String |
getRequest()
get the response string
|
String |
getResponse()
get the repsonse string
|
void |
ServiceConnection(Socket client,
int socketId,
int portToConnect)
service a socket connection to server
|
void |
startServer(int portListen,
int portConnect)
start the server
|
Thread |
startServer(int portListen,
int portConnect,
boolean executeInThread)
start the server
|
public Thread startServer(int portListen, int portConnect, boolean executeInThread)
portListen - portConnect - executeInThread - true to spawn a threadpublic void startServer(int portListen,
int portConnect)
portListen - portConnect - public void ServiceConnection(Socket client, int socketId, int portToConnect) throws IOException
client - socketId - portToConnect - IOExceptionpublic String getRequest()
public String getResponse()
Copyright © 2016 Internet2. All rights reserved.