public class TimestampClientExtension extends Object implements ClientSession.Extension
Constructor and Description |
---|
TimestampClientExtension() |
Modifier and Type | Method and Description |
---|---|
boolean |
send(ClientSession session,
Message.Mutable message)
Callback method invoked every time a normal message is being sent.
|
boolean |
sendMeta(ClientSession session,
Message.Mutable message)
Callback method invoked every time a meta message is being sent.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
incoming, outgoing, rcv, rcvMeta
public boolean send(ClientSession session, Message.Mutable message)
ClientSession.Extension
send
in interface ClientSession.Extension
session
- the session object that is sending the messagemessage
- the message being sentpublic boolean sendMeta(ClientSession session, Message.Mutable message)
ClientSession.Extension
sendMeta
in interface ClientSession.Extension
session
- the session object that is sending the messagemessage
- the meta message being sentCopyright © 2008–2024 The CometD Project. All rights reserved.