Package deltix.util.vsocket.transport
Interface Connection
-
- All Known Implementing Classes:
DatagramConnection
,SocketConnection
public interface Connection
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
VSocket
create(int code)
VSocket
create(VSocket stopped)
java.io.BufferedInputStream
getInputStream()
java.io.OutputStream
getOutputStream()
java.net.InetAddress
getRemoteAddress()
boolean
isLoopback()
void
setTransportType(TransportType transportType)
void
upgradeToSSL(javax.net.ssl.SSLSocketFactory sslSocketFactory)
-
-
-
Method Detail
-
getOutputStream
java.io.OutputStream getOutputStream()
-
getInputStream
java.io.BufferedInputStream getInputStream()
-
create
VSocket create(int code) throws java.io.IOException
- Throws:
java.io.IOException
-
getRemoteAddress
java.net.InetAddress getRemoteAddress()
-
close
void close()
-
isLoopback
boolean isLoopback()
-
setTransportType
void setTransportType(TransportType transportType)
-
upgradeToSSL
void upgradeToSSL(javax.net.ssl.SSLSocketFactory sslSocketFactory) throws java.io.IOException
- Throws:
java.io.IOException
-
-