Create a new protocol

Create a new protocol

With the help of Content Assist create a ProtocolClass and name it PingPongProtocol. Create the following messages:

ProtocolClass PingPongProtocol {
    incoming {
        Message ping(data: DemoData)
        Message pingSimple(data:int32)
    }
    outgoing {
        Message pong(data: DemoData)
        Message pongSimple(data:int32)
    }
}