Interface IStreamProvider
IStreamProvider provides an abstraction for configuring an getting
NetworkStreams for the TcpInitiator.
INetworkStreamFactories are provided by the StreamProviderFactory.
Inherited Members
Namespace: Tangosol.Net
Assembly: Coherence.dll
Syntax
public interface IStreamProvider : IXmlConfigurable
Properties
RemoteAddress
address of a remote server this client is connected to.
Declaration
string RemoteAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
GetStream(TcpClient)
Get a NetworkStream using a TcpClient which is connected.
Declaration
Stream GetStream(TcpClient client)
Parameters
| Type | Name | Description |
|---|---|---|
| TcpClient | client | A connected TcpClient. |
Returns
| Type | Description |
|---|---|
| Stream | A Stream |