Ejemplo n.º 1
0
 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);
     }
 }
Ejemplo n.º 2
0
        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);

        }
Ejemplo n.º 3
0
 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);
     }
 }
Ejemplo n.º 4
0
 public void Dispose()
 {
     if (sm != null)
     {
         Logger.Log("Disposing IPC Server");
         sm.Dispose();
         sm = null;
     }
 }
Ejemplo n.º 5
0
 public void Init()
 {
     if (sm != null)
     {
         return;
     }
     Logger.Log("Starting IPC Server");
     sm = new tiesky.com.SharmIpc("vrchatlauncher", this.RemoteCall);
 }
Ejemplo n.º 6
0
        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);
            }
        }
Ejemplo n.º 7
0
        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);
            }
        }
Ejemplo n.º 8
0
        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);
        }