public void RegisterPacketHandler(NodePacketType packetType, NodePacketFactoryMethod factory, INodePacketHandler handler) { throw new NotImplementedException(); }
/// <summary> /// Registers the specified handler for a particular packet type. /// </summary> /// <param name="packetType">The packet type.</param> /// <param name="factory">The factory for packets of the specified type.</param> /// <param name="handler">The handler to be called when packets of the specified type are received.</param> public void RegisterPacketHandler(NodePacketType packetType, NodePacketFactoryMethod factory, INodePacketHandler handler) { throw new NotSupportedException("not used"); }
public void RegisterPacketHandler(NodePacketType packetType, NodePacketFactoryMethod factory, INodePacketHandler handler) { _packetFactory.RegisterPacketHandler(packetType, factory, handler); }
/// <summary> /// Registers the specified handler for a particular packet type. /// </summary> /// <param name="packetType">The packet type.</param> /// <param name="factory">The factory for packets of the specified type.</param> /// <param name="handler">The handler to be called when packets of the specified type are received.</param> public void RegisterPacketHandler(NodePacketType packetType, NodePacketFactoryMethod factory, INodePacketHandler handler) { _packetFactory.RegisterPacketHandler(packetType, factory, handler); }
public void RegisterPacketHandler(NodePacketType packetType, NodePacketFactoryMethod factory, INodePacketHandler handler) { throw new NotImplementedException(); }
/// <summary> /// Registers a packet handler. Not used in the in-proc node. /// </summary> public void RegisterPacketHandler(NodePacketType packetType, NodePacketFactoryMethod factory, INodePacketHandler handler) { // Not used ErrorUtilities.ThrowInternalErrorUnreachable(); }
/// <summary> /// Registers a packet handler. Not used in the in-proc node. /// </summary> public void RegisterPacketHandler(NodePacketType packetType, NodePacketFactoryMethod factory, INodePacketHandler handler) { // Not used ErrorUtilities.ThrowInternalErrorUnreachable(); }
/// <summary> /// Not necessary for in-proc node - we don't serialize. /// </summary> public void RegisterPacketHandler(NodePacketType packetType, NodePacketFactoryMethod factory, INodePacketHandler handler) { // The in-proc node doesn't need to do this. }
/// <summary> /// Registers the specified handler for a particular packet type. /// </summary> /// <param name="packetType">The packet type.</param> /// <param name="factory">The factory for packets of the specified type.</param> /// <param name="handler">The handler to be called when packets of the specified type are received.</param> public void RegisterPacketHandler(NodePacketType packetType, NodePacketFactoryMethod factory, INodePacketHandler handler) { throw new NotSupportedException("not used"); }
/// <summary> /// Not necessary for in-proc node - we don't serialize. /// </summary> public void RegisterPacketHandler(NodePacketType packetType, NodePacketFactoryMethod factory, INodePacketHandler handler) { // The in-proc node doesn't need to do this. }
/// <summary> /// Constructor. /// </summary> public PacketFactoryRecord(INodePacketHandler handler, NodePacketFactoryMethod factoryMethod) { _handler = handler; _factoryMethod = factoryMethod; }
/// <summary> /// Registers a packet handler /// </summary> public void RegisterPacketHandler(NodePacketType packetType, NodePacketFactoryMethod factory, INodePacketHandler handler) { _packetFactories[packetType] = new PacketFactoryRecord(handler, factory); }
/// <summary> /// Constructor. /// </summary> public PacketFactoryRecord(INodePacketHandler handler, NodePacketFactoryMethod factoryMethod) { _handler = handler; _factoryMethod = factoryMethod; }
/// <summary> /// Registers a packet handler /// </summary> public void RegisterPacketHandler(NodePacketType packetType, NodePacketFactoryMethod factory, INodePacketHandler handler) { _packetFactories[packetType] = new PacketFactoryRecord(handler, factory); }