public bool TransmitMessage(IRemoteMessage message) { #if WINDOWS_UWP if (m_socket != null) { m_messageOutstream.WriteUInt16((ushort)message.MessageHeader); var sizeofmessage = message.Message.Length; m_messageOutstream.WriteInt32(sizeofmessage); m_messageOutstream.WriteBytes(message.Message); } return(m_socket != null); #else return(false); #endif }
public bool SendMessage(IRemoteMessage message) { return(m_orchestrator.TransmitMessage(message)); }
public bool ReadMessage(IRemoteMessage message) { // Do something with this return(true); }