public class TcpCommunication extends CommunicationSocket
| Constructor and Description |
|---|
TcpCommunication(@NonNull String ip,
@NonNull int port)
TCP Communication Constructor
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream()
Get input stream
|
OutputStream |
getOutputStream()
Get output stream
|
close, openpublic TcpCommunication(@NonNull
@NonNull String ip,
@NonNull
@NonNull int port)
public OutputStream getOutputStream() throws IOException
CommunicationSocketgetOutputStream in class CommunicationSocketIOExceptionpublic InputStream getInputStream() throws IOException
CommunicationSocketgetInputStream in class CommunicationSocketIOExceptionCopyright © 2023 SiLA Java Developers. All rights reserved.