cmcfarlen commented on code in PR #9424:
URL: https://github.com/apache/trafficserver/pull/9424#discussion_r1108808807
##########
iocore/net/I_UDPPacket.h:
##########
@@ -42,13 +43,47 @@
class UDPPacket
{
public:
- virtual ~UDPPacket() {}
- virtual void free(); // fast deallocate
- void setContinuation(Continuation *c);
- void setConnection(UDPConnection *c);
- UDPConnection *getConnection();
- IOBufferBlock *getIOBlockChain();
- int64_t getPktLength() const;
+ UDPPacket();
+ ~UDPPacket();
+ void free(); // fast deallocate
+
+ void
+ setContinuation(Continuation *c)
+ {
+ cont = c;
+ }
+
+ void
+ setConnection(UDPConnection *c)
Review Comment:
I put these back in the header to try to restore some inline-ability. I can
move them outside of the class though if you want.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]