Class SystemStreamProvider
Will retrun the default (unsecure) network stream.
Inherited Members
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 |
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. |