Wrapper to use a PacketPeer over a StreamPeer.
    public class PacketPeerStream : PacketPeer

PacketStreamPeer provides a wrapper for working using packets over a stream. This allows for using packet based code with StreamPeers. PacketPeerStream implements a custom protocol over the StreamPeer, so the user should not read or write to the wrapped StreamPeer directly.

Inheritance Chain

Constructors

    public PacketPeerStream()

Properties

    public int InputBufferMaxSize { get; set; }

    public int OutputBufferMaxSize { get; set; }

    public StreamPeer StreamPeer { get; set; }

The wrapped StreamPeer object.

Methods

    [Obsolete("GetInputBufferMaxSize is deprecated. Use the InputBufferMaxSize property instead.")]
    public int GetInputBufferMaxSize()

Getter for InputBufferMaxSize

    [Obsolete("GetOutputBufferMaxSize is deprecated. Use the OutputBufferMaxSize property instead.")]
    public int GetOutputBufferMaxSize()

Getter for OutputBufferMaxSize

    [Obsolete("GetStreamPeer is deprecated. Use the StreamPeer property instead.")]
    public StreamPeer GetStreamPeer()

Getter for StreamPeer

    [Obsolete("SetInputBufferMaxSize is deprecated. Use the InputBufferMaxSize property instead.")]
    public void SetInputBufferMaxSize(int maxSizeBytes)

Setter for InputBufferMaxSize

    [Obsolete("SetOutputBufferMaxSize is deprecated. Use the OutputBufferMaxSize property instead.")]
    public void SetOutputBufferMaxSize(int maxSizeBytes)

Setter for OutputBufferMaxSize

    [Obsolete("SetStreamPeer is deprecated. Use the StreamPeer property instead.")]
    public void SetStreamPeer(StreamPeer peer)

Setter for StreamPeer

Tags: