Exemplo n.º 1
0
 public SimpleStreamConnection(SocketStreamConnection clientSocket, MessageReceiveHandler receiveEventHandler, LogCallback logCallbackHandler)
 {
     m_logCallback = logCallbackHandler;
     m_pipe = clientSocket;
     m_pipe.MessageReceived += new MessageEventHandler(ReceiveMessage);
     m_messageReceiveHandler = receiveEventHandler;
 }
Exemplo n.º 2
0
 protected void onNewClientConnection(SocketStreamConnection client)
 {
     new MaxSceneServer(client);
 }
Exemplo n.º 3
0
 public MaxSceneServer(SocketStreamConnection pipe)
 {
     _gi = Autodesk.Max.GlobalInterface.Instance;
     m_pipe = new SimpleStreamConnection(pipe, ProcessMessage, Log.Add);
     Log.Add("New Client Connection.");
 }