C# Class CometD.Client.Extension.TimestampExtension

Inheritance: AdapterExtension, IEquatable
ファイルを表示 Open project: nthachus/CometD.NET

Public Methods

Method Description
Equals ( other ) : bool

Returns a value indicating whether this extension is equal to another TimestampExtension object.

Equals ( IExtension other ) : bool

Returns a value indicating whether this extension is equal to another IExtension object.

Equals ( object obj ) : bool

Returns a value indicating whether this extension is equal to a specified object.

GetHashCode ( ) : int

Returns the hash code for this extension.

Send ( IClientSession session, IMutableMessage message ) : bool

Callback method invoked every time a normal message is being sent.

SendMeta ( IClientSession session, IMutableMessage message ) : bool

Callback method invoked every time a meta message is being sent.

Private Methods

Method Description
AddTimestamp ( IMutableMessage message ) : void

Method Details

Equals() public method

Returns a value indicating whether this extension is equal to another TimestampExtension object.
public Equals ( other ) : bool
return bool

Equals() public method

Returns a value indicating whether this extension is equal to another IExtension object.
public Equals ( IExtension other ) : bool
other IExtension
return bool

Equals() public method

Returns a value indicating whether this extension is equal to a specified object.
public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

Returns the hash code for this extension.
public GetHashCode ( ) : int
return int

Send() public method

Callback method invoked every time a normal message is being sent.
is null.
public Send ( IClientSession session, IMutableMessage message ) : bool
session IClientSession
message IMutableMessage
return bool

SendMeta() public method

Callback method invoked every time a meta message is being sent.
is null.
public SendMeta ( IClientSession session, IMutableMessage message ) : bool
session IClientSession
message IMutableMessage
return bool