/// <summary> /// Constructor /// </summary> public NetServerTemplate() { LocalPort = 12345; UdpEnable = false; Layers = new List <INetworkLayerFactory>(); ServerFactory = new DataEndpointFactory <T, C>(); }
private void UpdateFactory(DataEndpointFactory factory) { _factory = factory; textBoxLibraryServer.Text = factory.Name; propertyGrid.SelectedObject = factory.Config; }
protected override bool SelectTemplate(object template) { NodeLibraryManager.NodeLibraryType node = (NodeLibraryManager.NodeLibraryType)template; if (node.ConfigType != null) { Server = new LibraryDataEndpointFactory(node.Type, node.ConfigType, node.Name); } else { Server = new LibraryDataEndpointFactory(node.Type, node.Name); } return(true); }
public NetServerProxyClient(DataEndpointFactory factory) { _factory = factory; }
protected override bool SelectScript(ScriptDocument document, string className) { Server = new ScriptDataEndpointFactory(document, className); return(true); }