Show / Hide Table of Contents

    Delegate ConnectionPacketReadyDelegate

    Represents a delegate to call when a packet is ready to be processed.

    Namespace: Fibula.Communications.Contracts.Delegates
    Assembly: Fibula.Communications.Contracts.dll
    Syntax
    public delegate IEnumerable<IOutboundPacket> ConnectionPacketReadyDelegate(IConnection connection, IIncomingPacket packet);
    Parameters
    Type Name Description
    IConnection connection

    The connection from which the packet is was read.

    IIncomingPacket packet

    The packet ready to be processed.

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IOutboundPacket>

    A collection of IOutboundPacket to respond with as a result of processing the IIncomingPacket.

    Extension Methods

    ObjectExtensions.YieldSingleItem<T>(T)
    ObjectExtensions.GetPropertyValue(Object, String)
    Validate.ThrowIfNull(Object, String)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018-2020 | The Fibula Project
    Generated using DocFX | Jose L. Nuñez de Caceres et al.