- tcp_client_server.zip
- TCP_client_server
- NET
- build.bat
- FileSystemClient
- FileSystemServer
- ICSharpCode.SharpZipLib.dll
- PluginInManager
- RemoteDesktopClient
- RemoteDesktopServer
- TCP_WIN_APP.sln
- TCPClient
- TCPClientCmd
- TCPClientWin
- TCPServer
- NETCF
- tcpwin_client.zip
- TCPWin_Client
- ICSharpCode.SharpZipLib.dll
- Interop.Shell32.dll
- Log
- PluginInMannager.dll
- plugins
- FileSystemClient.dll
- RemoteDesktopClient.dll
- TCPClient.dll
- TCPClientWin.exe
- tcpcf_server.zip
- TCPCF_Server
- ICSharpCode.SharpZipLib.dll
- PlugInManager.dll
- plugins
- FileSystemServer.dll
- RemoteDesktopServer.dll
- TCPServer.exe
- tcpwin_server.zip
- TCPWin_Server
- ICSharpCode.SharpZipLib.dll
- PluginInMannager.dll
- plugins
- FileSystemServer.dll
- SimpleRemoteDesktopServer.dll
- TCPServer.exe
- tcpwin_clientcmd.zip
- TCPWin_ClientCMD
- ICSharpCode.SharpZipLib.dll
- PluginInMannager.dll
- plugins
- FileSystemClient.dll
- RemoteDesktopClient.dll
- TCPClient.dll
- TCPClientCmd.exe
|
//-----------------------------------------------------------------------
// <copyright file="BasicFunctionalityServer.cs" company="Matjazev.NET">
// Copyright (c) www.matjazev.net. All rights reserved.
// </copyright>
// <author>Matjaz Prtenjak</author>
//-----------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
using Matjazev.Tcp.Plugin.Interfaces;
namespace Matjazev.Tcp.Plugin
{
[TCPServerPluginAttribute]
public class BasicFunctionalityServer : Plugin
{
#region Actions
public void ExecuteReloadPlugins(IAction action, ref IAction outAction)
{
PluginsManager.Inst.ReLoadPlugins();
CommonUtils.AddSubElement(outAction.Job, "value", "server", "OK");
}
public void ExecuteGetPluginsData(IAction action, ref IAction outAction)
{
CommonUtils.PluginDataToXML(outAction.Job, true);
CommonUtils.AddSubElement(outAction.Job, "value", "server", "OK");
}
#endregion
public override IBasicPluginData Description()
{
return new BasicPluginData("Basic Server Functionality", "1.0 beta", "Matja� Prtenjak");
}
public BasicFunctionalityServer()
{
addServerAction("getPluginsData", this.ExecuteGetPluginsData);
addServerAction("reloadPlugins", this.ExecuteReloadPlugins);
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I am a software developer in one of the largest retailer in our country. My job is (beside else) also in setting some standards in SW development throughout our company.
I have a M.Sc. in computer science and 20 years of experience. I have written 2 books in Slovenian language and both are sold out (the first about C++ language and the second about VBA language)...