Click or drag to resize

Demo3D.Net Namespace

The Demo3D.Net namespace provides a framework for accessing the built-in Demo3D communication protocols.
Classes
 ClassDescription
Public classByteStreamProperties TCP connection properties.
Public classCallbackContextEvent An event that calls the callbacks in the callers chosen synchronization context.
Public classCallbackContextEventT An event that calls the callbacks in the callers chosen synchronization context.
Public classCallbackContextEventT1, T2 An event that calls the callbacks in the callers chosen synchronization context.
Public classChannel A channel within a Protocol.
Public classChannelInstance An instance of a channel.
Public classClientT A client connection.
Public classConnection A client connection to a peer.
Public classFlagsExtensions Extension methods for SocketFlags and OpenFlags.
Public classMessageEventArgsMessageType Generic arguments to the DataChanged event. Contains information about the message received that caused the event to be raised.
Public classMessageService Extension methods for IMessageStreamService and IMessageNotifyService.
Public classNotifyDataChanged Provides INotifyDataChanged extensions.
Public classNotifyDataChangedEventQueue A source of data changed events. Returned from GetEventQueue(INotifyDataChanged), this class will collect any DataChanged events and return them via a call to WhenDataChangedAsync().
Public classNotifyDataChangedEventArgs Information about an INotifyDataChanged.DataChanged event.
Public classOpenParams Parameters for opening a socket (client or server).
Public classPacketChangedEventArgs Arguments to the IPacketIOServiceDataChanged event. Contains information about the packet received that caused the event to be raised.
Public classPacketChangedEventArgsExtensions Extensions to PacketChangedEventArgs.
Public classPacketIOService Extensions for the IPacketIOService.
Public classCode exampleProtocol Represents one protocol.
Public classProtocolRequiredService Describes the protocols and services required down stream.
Public classProtocolAddress An address of a client or server.
Public classCode exampleProtocolAddressBuilder A class for constructing protocol addresses.
Public classProtocolAddressEditor A property bag for configuring a ProtocolAddress.
Public classProtocolAddressEditorAttribute An attribute on a Protocol that defines an editor for creating addresses for that protocol.
Public classProtocolAddressPropertyBagEditor A property bag base class for configuring a ProtocolAddress.
Public classProtocolHead The head of the protocol stream.
Public classCode exampleProtocolInstance This is one instance of a protocol connection (either a client or a server connection), or a protocol server. This class represents one link in the overall protocol stream. Created by Protocol, it manages the protocol for just this link in the stream. Uses the services of, and provides services to, its downstream and upstream instances.
Public classProtocolProperties A class to contain all the configuration property bags for each protocol and service being used for a connection.
Public classProtocolServer Protocol server.
Public classProtocolSocket A connection to a peer (either a client or a server connection), or a protocol server.
Public classServerClientT A client connection to our server.
Public classServerSocket A server socket.
Public classServiceBindingAttribute Binding attributes for a service interface.
Public classServiceNameAttribute Name attributes for a service interface.
Public classServiceProvider A service provider.
Public classServiceProviderRequiredService Describes the services required by this service.
Structures
 StructureDescription
Public structureFlags Connection flags.
Interfaces
 InterfaceDescription
Public interfaceConnectionIRegistry A registry of connections.
Public interfaceIByteStreamService Protocol byte stream service.
Public interfaceIDataChangedNotifier An object that can notify when data has arrived or changed.
Public interfaceIEmbeddedPacketIOService An embedded virtual connection.
Public interfaceIIOStatsService Simple connection IO statistics.
Public interfaceIMessageNotifyService Protocol message stream service.
Public interfaceIMessageService Protocol message stream service.
Public interfaceIMessageStreamService Protocol message stream service.
Public interfaceINotifyDataChanged Notifies listeners that data has arrived or changed.
Public interfaceIPacketIOService Protocol packet and stream IO service. IPacketIOService DataChanged events will pass PacketChangedEventArgs.
Public interfaceIProtocolServerService Protocol server service.
Public interfaceIProtocolTimeoutService Control over the underlying protocol timeouts.
Public interfaceProtocolIRegistry Registry of protocols.
Public interfaceServiceProviderIRegistry Registry of global service providers.
Delegates
 DelegateDescription
Public delegateMessageReceivedDelegate Delegate for handling a received message.
Public delegateNotifyDataChangedEventHandler Represents the method that handles DataChanged events.
Public delegateProtocolSocketOnRegisterClosingDelegate Delegate for RegisterClosing(ProtocolSocketOnRegisterClosingDelegate, Object).
Public delegateProtocolSocketOnRegisterOpenDelegate Delegate for RegisterOpen(ProtocolSocketOnRegisterOpenDelegate, Object).
Public delegateServiceClientAsyncT Delegate for servicing a new connection, passing a new Client{T} for each connection accepted.
Public delegateServiceConnectionAsync Delegate for servicing a new connection, passing a new ProtocolSocket for each connection accepted.
Enumerations
 EnumerationDescription
Public enumerationCallbackContext Defines the context in which a callback should be called.
Public enumerationOpenFlags Flags specific to the Connection.
Public enumerationServiceBindingFlags Directs how to find a service on a protocol. By default Public and NonPublic services for the supplied protocol, and Public services of the downstream protocols, are searched.
Public enumerationSocketFlags Client and server socket flags, specific to the ProtocolHead.
Remarks

List of services:

InterfaceDescription
IByteStreamServiceA service for implementing connections that provide a stream of bytes (eg TCP).
IMessageStreamServiceA service for implementing connections that provide a stream of messages (eg UDP, COTP).
IPacketIOServiceA service for implementing connections that exchange packets of data.
IEmbeddedPacketIOServiceA service for implementing embedded virtual connections connections that implement IPacketIOService.
IProtocolTimeoutServiceA service for controlling protocol timeouts.
IIOStatsServiceA service for collecting protocol statistics.
IProtocolServerServiceA service for implementing protocol servers.

Supporting interfaces: INotifyDataChanged, IDataChangedNotifier,