public void InitNetData(NetMessenger myNewMessenger, NetMQ.Sockets.ResponseSocket myNewServer) { Debug.Log("Calling InitNetData"); _myMessenger = myNewMessenger; _myServer = myNewServer; _request.callbackFunc = (CameraStreamer.CaptureRequest req)=>{_myMessenger.SendFrameUpdate(req, this);}; ReadyFramesForRequest(); }
public SocketWrapper (NetMQ.NetMQSocket requestSocket) { this.socket = requestSocket; }