32 lines
919 B
C#
32 lines
919 B
C#
// using System;
|
|
// using BCG;
|
|
// //using BCG.Utilities;
|
|
|
|
// namespace BCG
|
|
// {
|
|
// public class InvalidSubAddress : Exception
|
|
// {
|
|
// public InvalidSubAddress(string msg) : base (msg){}
|
|
// }
|
|
|
|
// public abstract class SubAddress
|
|
// {
|
|
// public static SubAddress decode (string s)
|
|
// {
|
|
// //if (s.StartsWith(TcpSubAddress.prefix))
|
|
// // return new TcpSubAddress(s);
|
|
// //else if (s.StartsWith(SuperSocketAddress.prefix))
|
|
// // return new SuperSocketAddress(s);
|
|
// if (s.StartsWith(MSMQSubAddress.prefix))
|
|
// return new MSMQSubAddress(s);
|
|
// else if (s.StartsWith(BlutoSubAddress.prefix))
|
|
// return new BlutoSubAddress(s);
|
|
// else
|
|
// {
|
|
// //BlueEventLog.logAssert(false, "Unknown pubsub transport for : " + s);
|
|
// return null;
|
|
// }
|
|
// }
|
|
// }
|
|
// }
|