diff --git a/TGServerService/Interop.cs b/TGServerService/Interop.cs index 121a762479..f176a8a374 100644 --- a/TGServerService/Interop.cs +++ b/TGServerService/Interop.cs @@ -11,7 +11,7 @@ using TGServiceInterface; namespace TGServerService { //handles talking between the world and us - partial class TGStationServer : ITGServiceBridge + partial class TGStationServer : ITGInterop { object topicLock = new object(); diff --git a/TGServiceInterface/ServiceBridge.cs b/TGServiceInterface/Interop.cs similarity index 93% rename from TGServiceInterface/ServiceBridge.cs rename to TGServiceInterface/Interop.cs index 764250ea36..fa5581f70b 100644 --- a/TGServiceInterface/ServiceBridge.cs +++ b/TGServiceInterface/Interop.cs @@ -10,7 +10,7 @@ namespace TGServiceInterface /// Used by DD to access the interop API with call()() /// [ServiceContract] - public interface ITGServiceBridge + public interface ITGInterop { /// /// Called from /world/ExportService(command) @@ -36,7 +36,7 @@ namespace TGServiceInterface { try { - ChannelFactory channel = null; + ChannelFactory channel = null; try { Server.GetComponentAndChannel(out channel).InteropMessage(String.Join(" ", args)); diff --git a/TGServiceInterface/Server.cs b/TGServiceInterface/Server.cs index 888f216561..0d735c161c 100644 --- a/TGServiceInterface/Server.cs +++ b/TGServiceInterface/Server.cs @@ -10,7 +10,7 @@ namespace TGServiceInterface /// /// List of types that can be used with GetComponen /// - public static readonly IList ValidInterfaces = new List { typeof(ITGByond), typeof(ITGChat), typeof(ITGCompiler), typeof(ITGConfig), typeof(ITGDreamDaemon), typeof(ITGRepository), typeof(ITGSService), typeof(ITGConnectivity), typeof(ITGAdministration), typeof(ITGServiceBridge) }; + public static readonly IList ValidInterfaces = new List { typeof(ITGByond), typeof(ITGChat), typeof(ITGCompiler), typeof(ITGConfig), typeof(ITGDreamDaemon), typeof(ITGRepository), typeof(ITGSService), typeof(ITGConnectivity), typeof(ITGAdministration), typeof(ITGInterop) }; /// /// Base name of the communication pipe diff --git a/TGServiceInterface/TGServiceInterface.csproj b/TGServiceInterface/TGServiceInterface.csproj index 6851600e9c..864ffc9a7b 100644 --- a/TGServiceInterface/TGServiceInterface.csproj +++ b/TGServiceInterface/TGServiceInterface.csproj @@ -57,7 +57,7 @@ - +