public abstract class CommunicationSocket extends Object
SynchronousCommunication| Constructor and Description |
|---|
CommunicationSocket() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close socket
|
abstract InputStream |
getInputStream()
Get input stream
|
abstract OutputStream |
getOutputStream()
Get output stream
|
void |
open()
Open socket
|
public void open()
throws IOException
IOExceptionpublic void close()
throws IOException
IOExceptionpublic abstract OutputStream getOutputStream() throws IOException
IOExceptionpublic abstract InputStream getInputStream() throws IOException
IOExceptionCopyright © 2024 SiLA Java Developers. All rights reserved.