private void button1_Click(object sender, EventArgs e) { if (sm == null) { sm = new tiesky.com.SharmIpc("Global/MyNewSharmIpc", this.AsyncRemoteCallHandler, protocolVersion: tiesky.com.SharmIpc.eProtocolVersion.V2); //sm = new tiesky.com.SharmIpc("Global/MyNewSharmIpc", this.RemoteCall); } }
private void button1_Click(object sender, EventArgs e) { if (sm == null) //sm = new tiesky.com.SharmIpc("MyNewSharmIpc", this.AsyncRemoteCallHandler); sm = new tiesky.com.SharmIpc("MyNewSharmIpc", this.RemoteCall); }
private void button1_Click(object sender, EventArgs e) { if (sm == null) { //sm = new tiesky.com.SharmIpc("MyNewSharmIpc", this.AsyncRemoteCallHandler); sm = new tiesky.com.SharmIpc("MyNewSharmIpc", this.RemoteCall); } }
public void Dispose() { if (sm != null) { Logger.Log("Disposing IPC Server"); sm.Dispose(); sm = null; } }
public void Init() { if (sm != null) { return; } Logger.Log("Starting IPC Server"); sm = new tiesky.com.SharmIpc("vrchatlauncher", this.RemoteCall); }
private void button1_Click(object sender, EventArgs e) { //Initializing SharmIpc with then name if (sm != null) { sm.Dispose(); sm = null; } if (sm == null) { sm = new tiesky.com.SharmIpc("MyNewSharmIpc", this.RemoteCall); //or to get ability to answer to remote partner in async way //sm = new tiesky.com.SharmIpc("MyNewSharmIpc", this.AsyncRemoteCallHandler); } }
private void button1_Click(object sender, EventArgs e) { //Initializing SharmIpc with then name if (sm != null) { sm.Dispose(); sm = null; } if (sm == null) { sm = new tiesky.com.SharmIpc("Global/MyNewSharmIpc", this.RemoteCall, protocolVersion: tiesky.com.SharmIpc.eProtocolVersion.V2); //or to get ability to answer to remote partner in async way //sm = new tiesky.com.SharmIpc("Global/MyNewSharmIpc", this.AsyncRemoteCallHandler); } //System.Threading.ThreadPool.SetMinThreads(100, 100); }