public class SocketManager extends Object implements Serializable
| Constructor and Description |
|---|
SocketManager()
Default constructor
|
SocketManager(Socket soc)
Constructs this SocketManager with the specified socket.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getBufferSize()
Returns the buffer size.
|
String |
getMatchingIdentifier()
Gets the socket's identifier (if any).
|
Socket |
getSoc()
Gets the socket associated with this SocketManager.
|
String |
receiveData()
Reads the socket for a response and writes to String.
|
void |
sendData(String xmlRequest)
Writes the xmlRequest param to the open socket.
|
void |
setBufferSize(int value)
Sets the buffer size.
|
void |
setMatchingIdentifier(String string)
Sets an identifier to identify the socket
|
void |
setSoc(Socket value)
Sets the socket associated with this SocketManager.
|
String |
toString() |
public SocketManager()
public SocketManager(Socket soc)
soc - public int getBufferSize()
public void setBufferSize(int value)
value - public Socket getSoc()
public final void setSoc(Socket value)
value - as a Socketpublic void sendData(String xmlRequest) throws VistaSocketException
xmlRequest - a requestVistaSocketExceptionpublic String receiveData() throws VistaSocketException, VistaSocketTimeOutException
VistaSocketExceptionVistaSocketTimeOutExceptionpublic String getMatchingIdentifier()
public void setMatchingIdentifier(String string)
string - matching identifierCopyright © 2026. All rights reserved.