| 50 | static const uint16_t maxMessageSizeLimit = UINT16_MAX; |
| 51 | |
| 52 | static Pair<FancyRefPtr<MessageEndpoint>,FancyRefPtr<MessageEndpoint>> CreatePair(uint16_t msgSize){ |
| 53 | FancyRefPtr<MessageEndpoint> endpoint1 = FancyRefPtr<MessageEndpoint>(new MessageEndpoint(msgSize)); |
| 54 | FancyRefPtr<MessageEndpoint> endpoint2 = FancyRefPtr<MessageEndpoint>(new MessageEndpoint(msgSize)); |
| 55 | |
| 56 | endpoint1->peer = endpoint2; |
| 57 | endpoint2->peer = endpoint1; |
| 58 | |
| 59 | return {endpoint1, endpoint2}; |
| 60 | } |
| 61 | |
| 62 | MessageEndpoint(uint16_t maxSize); |
| 63 | ~MessageEndpoint(); |
nothing calls this directly
no outgoing calls
no test coverage detected