public interface ProtocolEndpointFactory
Modifier and Type | Method and Description |
---|---|
ProtocolEndpoint |
createEndpoint(java.io.OutputStream outputStream,
java.io.InputStream inputStream)
Creates an end-point for the protocol related to this factory on the
specified streams.
|
ProtocolEndpoint createEndpoint(java.io.OutputStream outputStream, java.io.InputStream inputStream)
outputStream
- the output stream of the connectioninputStream
- the input stream of the connection