예제 #1
0
 public static void begin(string inPipeName, NewMessageDelegate inDelegate)
 {
     pipeName                        = inPipeName;
     pipeServerListener              = new PipeListener();
     pipeServerListener.PipeMessage += inDelegate;
     pipeServerListener.Listen();
     connected = false;
 }
예제 #2
0
 public static void dispose(NewMessageDelegate inDelegate)
 {
     pipeServerListener.PipeMessage -= inDelegate;
     pipeServerListener              = null;
 }