public class MLLPConnection extends Object implements Closeable
| Constructor and Description |
|---|
MLLPConnection(Socket sock) |
MLLPConnection(Socket sock,
int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Socket |
getSocket() |
byte[] |
readMessage() |
void |
writeMessage(byte[] b) |
void |
writeMessage(byte[] b,
int off,
int len) |
public MLLPConnection(Socket sock) throws IOException
IOExceptionpublic MLLPConnection(Socket sock, int bufferSize) throws IOException
IOExceptionpublic final Socket getSocket()
public void writeMessage(byte[] b)
throws IOException
IOExceptionpublic void writeMessage(byte[] b,
int off,
int len)
throws IOException
IOExceptionpublic byte[] readMessage()
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2021. All rights reserved.