/* --- Static Methods (Interface) --- */ public static bool Connect(string name) { if (s_instance != null) { s_instance.SendDebugMessage("ERROR: tried to connect with an already open HSMPClient..."); return(false); } ClientMessageStream s = ClientMessageStream.Create(name); if (s == null) { return(false); } s_instance = new HSMPClient(s); return(true); }
/* --- Constructors --- */ private HSMPClient(ClientMessageStream s) { m_stream = s; }