Package org.cometd.server.ext
Class TimestampExtension
java.lang.Object
org.cometd.server.ext.TimestampExtension
- All Implemented Interfaces:
BayeuxServer.Extension
public class TimestampExtension extends Object implements BayeuxServer.Extension
-
Constructor Summary
Constructors Constructor Description TimestampExtension()
TimestampExtension(String format)
TimestampExtension(String format, TimeZone tz)
-
Method Summary
Modifier and Type Method Description boolean
send(ServerSession from, ServerSession to, ServerMessage.Mutable message)
boolean
sendMeta(ServerSession to, ServerMessage.Mutable message)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.cometd.bayeux.server.BayeuxServer.Extension
incoming, outgoing, rcv, rcvMeta
-
Constructor Details
-
TimestampExtension
public TimestampExtension() -
TimestampExtension
-
TimestampExtension
-
-
Method Details
-
send
- Specified by:
send
in interfaceBayeuxServer.Extension
-
sendMeta
- Specified by:
sendMeta
in interfaceBayeuxServer.Extension
-