Click here to Skip to main content
15,881,559 members
Articles / Programming Languages / C#

The case for a channel-schema concept

Rate me:
Please Sign up or sign in to vote.
4.64/5 (10 votes)
17 May 2003CPOL9 min read 59.5K   623   24  
An article about .NET remoting channel schemas
using System;
using System.Runtime.Remoting.Messaging;

namespace InterfaceLibrary
{
	public interface ITestObject {
		String Ping();
		[OneWay] void OneWayMethod(String s);
		void RegularMethod(String s);
		String AsyncMethod(String s);

		String CallMe(ICallbackObject cb);
		String CallMeOneWay(ICallbackObject cb);
		String CallMeAsync(ICallbackObject cb);
	}
	public interface IKnossosObject : ITestObject { }
	public interface IZakrosObject : ITestObject { }

	public interface ICallbackObject {
		String Callback(String msg);
		[OneWay] void OneWayCallback(String msg);
		String AsyncCallback(String msg);
	}
}

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.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
United States United States
I am a consultant, trainer, software archtect/engineer, since the early 1980s, working in the greater area of Boston, MA, USA.

My work comprises the entire spectrum of software, shrink-wrapped applications, IT client-server, systems and protocol related work, compilers and operating systems, and more ....

I am currently focused on platform development for distributed computing in service oriented data centers.

Comments and Discussions