Show / Hide Table of Contents

Interface IStreamProvider

IStreamProvider provides an abstraction for configuring an getting NetworkStreams for the TcpInitiator.
INetworkStreamFactories are provided by the StreamProviderFactory.

Inherited Members
IXmlConfigurable.Config
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

In this article
Back to top Copyright © 2000, 2024, Oracle and/or its affiliates.