Show / Hide Table of Contents

Class SystemStreamProvider

Will retrun the default (unsecure) network stream.

Inheritance
object
SystemStreamProvider
Implements
IStreamProvider
IXmlConfigurable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Tangosol.Net
Assembly: Coherence.dll
Syntax
public class SystemStreamProvider : IStreamProvider, IXmlConfigurable

Properties

Config

The current configuration of the object.

Declaration
public IXmlElement Config { get; set; }
Property Value
Type Description
IXmlElement

The XML configuration or null.

Exceptions
Type Condition
InvalidOperationException

When setting, if the object is not in a state that allows the configuration to be set; for example, if the object has already been configured and cannot be reconfigured.

RemoteAddress

address of a remote server this client is connected to.

Declaration
public virtual string RemoteAddress { get; set; }
Property Value
Type Description
string

Methods

GetStream(TcpClient)

Get a default unsecure stream (NetworkStream) from an established connection (TcpClient).

Declaration
public Stream GetStream(TcpClient client)
Parameters
Type Name Description
TcpClient client

A connected TcpClient, used to establish a unsecure connection.

Returns
Type Description
Stream

A NetworkStream connected to the remote host.

Implements

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