public class NamedPipeSocket extends Socket
Constructor and Description |
---|
NamedPipeSocket(String host,
String name) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
connect(SocketAddress endpoint) |
void |
connect(SocketAddress endpoint,
int timeout)
Name pipe connection.
|
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
void |
setKeepAlive(boolean bool) |
void |
setReceiveBufferSize(int size) |
void |
setSendBufferSize(int size) |
void |
setSoLinger(boolean bool,
int value) |
void |
setSoTimeout(int timeout) |
void |
setTcpNoDelay(boolean bool) |
void |
shutdownInput() |
void |
shutdownOutput() |
bind, getChannel, getInetAddress, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setOOBInline, setPerformancePreferences, setReuseAddress, setSocketImplFactory, setTrafficClass, toString
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class Socket
IOException
public void connect(SocketAddress endpoint) throws IOException
connect
in class Socket
IOException
public void connect(SocketAddress endpoint, int timeout) throws IOException
connect
in class Socket
endpoint
- endPointtimeout
- timeout in millisecondsIOException
- exceptionpublic InputStream getInputStream()
getInputStream
in class Socket
public OutputStream getOutputStream()
getOutputStream
in class Socket
public void setTcpNoDelay(boolean bool)
setTcpNoDelay
in class Socket
public void setKeepAlive(boolean bool)
setKeepAlive
in class Socket
public void setReceiveBufferSize(int size)
setReceiveBufferSize
in class Socket
public void setSendBufferSize(int size)
setSendBufferSize
in class Socket
public void setSoLinger(boolean bool, int value)
setSoLinger
in class Socket
public void setSoTimeout(int timeout)
setSoTimeout
in class Socket
public void shutdownInput()
shutdownInput
in class Socket
public void shutdownOutput()
shutdownOutput
in class Socket
Copyright © 2019 mariadb.org. All rights reserved.