コード例 #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;
 }
コード例 #2
0
 protected void onNewClientConnection(SocketStreamConnection client)
 {
     new MaxSceneServer(client);
 }
コード例 #3
0
ファイル: MaxSceneServer.cs プロジェクト: sebjf/maxbridge
 public MaxSceneServer(SocketStreamConnection pipe)
 {
     _gi = Autodesk.Max.GlobalInterface.Instance;
     m_pipe = new SimpleStreamConnection(pipe, ProcessMessage, Log.Add);
     Log.Add("New Client Connection.");
 }