Nuclei release - V0.6.5.0

Thursday, September 26, 2013 | Posted in

Version V0.6.5.0 of the Nuclei library has been released. This release adds an option to allow the user to select which types of channels the communication layer is allowed to use. The communication layer can be allowed to use TCP/IP channels, named pipe channels or both.

In the previous versions in the constructor of the CommunicationModule needed to be provided with a list of communication subjects and a flag indicating if channel discovery was allowed.

var builder = new ContainerBuilder();
builder.RegisterModule(
    new CommunicationModule(
        new List<CommunicationSubject>
            {
                CommunicationSubjects.Dataset,
            },
        false));

In V0.6.5.0 an extra parameter needs to be provided which indicates which types of channel the communication layer is allowed to use to communicate with other instances. The allowable options are ChannelType.NamedPipe and ChannelType.TcpIP.

var builder = new ContainerBuilder();
builder.RegisterModule(
    new CommunicationModule(
        new List<CommunicationSubject>
            {
                CommunicationSubjects.Dataset,
            },
        new[]
            {
                ChannelType.NamedPipe,
                ChannelType.TcpIP,
            },
        false));
comments powered by Disqus