2 Commits
Author SHA1 Message Date
mgortman 0722ade2a8 Motivation:
enable netty's internal logging experience to ease porting efforts and streamline logging configuration

Modifications:
- ported over InternalLogger and InternalLoggerFactory
- implemented InternalLogger using EventSource
- switched existing internal logging to this (increasing parity with netty)
- added logging configuration in Echo example
- added log to xunit output to end-to-end tests

*** extras
- fixed Echo client to send back received message (not 0 bytes)
- MqttDecoder no longer closes the Channel by itself instead changing internal state to invalid and forwarding an exception.
- further fix to ReSharper's code cleanup settings to properly arrange scope modifiers

Result:
internal components can use familiar experience to perform logging, e.g. `static readonly IInternalLogger Logger = InternalLoggerFactory.GetInstance<AbstractChannel>();`
2015-10-26 02:42:55 -07:00
Bartosz Sypytkowski 6e1733a5b1 Echo client-server example
Motivation:

At the present moment documentation of DotNetty is almost non-existent.
Moreover there are no examples that can be used as starting point for the
library learning. This commit is mean to provide basic client-server echo example over secure pipeline.

Modification:

- Created an examples directory to be used in the future for possible
  examples projects.
- Added two console projects used to establish server-client connection
  with basic secure DotNetty echo pipeline.

Result:

New console projects have been created under /examples directory.
2015-10-15 18:01:22 +02:00