Method | Description | |
---|---|---|
create ( |
Create a mama publisher for the corresponding transport. If the transport is a marketdata transport, as opposed to a "basic" transport, the topic corresponds to the symbol. For a basic transport, the source and root get ignored.
|
|
create ( |
Create a mama publisher for the corresponding transport. If the transport is a marketdata transport, as opposed to a "basic" transport, the topic corresponds to the symbol. For a basic transport, the source and root get ignored.
|
|
create ( |
Create a mama publisher for the corresponding transport. If the transport is a marketdata transport, as opposed to a "basic" transport, the topic corresponds to the symbol. For a basic transport, the source and root get ignored.
|
|
createWithCallbacks ( |
Create a mama publisher for the corresponding transport. If the transport is a marketdata transport, as opposed to a "basic" transport, the topic corresponds to the symbol. For a basic transport, the source and root get ignored.
|
|
destroy ( ) : void |
Destroy the publisher. A synonym to the
|
|
getRoot ( ) : string |
Get the name of the transport.
|
|
getSource ( ) : string |
Get the name of the transport.
|
|
getSymbol ( ) : string |
Get the name of the transport.
|
|
getTransport ( ) : |
Get the MamaTransport. The result contains the reusable MamaTransport object of the nativeHandle object. Applications calling this method will receive the same reusable object for repeated calls on same nativeHandle object.
|
|
send ( |
Send a message from the specified publisher.
|
|
sendFromInbox ( Wombat.MamaInbox inbox, |
Send a p2p message from the specified inbox using the throttle.
|
|
sendFromInboxWithThrottle ( Wombat.MamaInbox inbox, |
Send a p2p message from the specified inbox using the throttle. The lifecycle of the message sent is controlled by the user of the API. The callback indicates when the API is no longer using the message and can be destroyed/reused by the application.
|
|
sendReplyToInbox ( |
Send a reply in response to a request to an inbox.
|
|
sendWithThrottle ( |
Send a message with the throttle. The lifecycle of the message sent is controlled by the user of the API. The callback indicates when the API is no longer using the message and can be destroyed/reused by the application.
|
Method | Description | |
---|---|---|
DestroyNativePeer ( ) : MamaStatus.mamaStatus |
Implements the destruction of the underlying peer object MamaWrapper.DestroyNativePeer
|
|
Dispose ( bool disposing, bool destroyNativeHandle = true ) : void |
Method | Description | |
---|---|---|
MamaPublisher ( ) : System | ||
MamaPublisher ( |
M:Wombat.MamaWrapper.#ctor(System.IntPtr)
|
|
onCreate ( |
||
onDestroy ( |
||
onError ( |
||
onSendComplete ( |
This handler is called whenever an asynchronous publisher send has completed.
|
protected DestroyNativePeer ( ) : MamaStatus.mamaStatus | ||
return | MamaStatus.mamaStatus |
protected Dispose ( bool disposing, bool destroyNativeHandle = true ) : void | ||
disposing | bool | |
destroyNativeHandle | bool | |
return | void |
public create ( |
||
transport | The transport. | |
topic | string | Symbol on which to publish. |
return | void |
public create ( |
||
transport | The transport. | |
topic | string | Symbol on which to publish. |
source | string | The source for market data publishers. (e.g. source.symbol) |
return | void |
public create ( |
||
transport | The transport. | |
topic | string | Symbol on which to publish. |
source | string | The source for market data publishers. (e.g. source.symbol) |
root | string | The root for market data publishers. Used internally. |
return | void |
public createWithCallbacks ( |
||
transport | The transport. | |
queue | Wombat.MamaQueue | |
callback | MamaPublisherCallback | |
closure | Object | |
topic | string | Symbol on which to publish. |
source | string | The source for market data publishers. (e.g. source.symbol) |
root | string | The root for market data publishers. Used internally. |
return | void |
public send ( |
||
message | The mamaMsg to send. | |
return | void |
public sendFromInbox ( Wombat.MamaInbox inbox, |
||
inbox | Wombat.MamaInbox | The mamaInbox which will process any response to the sent /// message. |
message | The mamaMsg to send. | |
return | void |
public sendFromInboxWithThrottle ( Wombat.MamaInbox inbox, |
||
inbox | Wombat.MamaInbox | The MamaInbox which will process any response to the sent message. |
message | The MamaMsg to send. | |
callback | MamaSendCompleteCallback | The callback which will be invoked when the message /// is sent from the throttle queue. |
closure | object | User supplied data returned when the callback is invoked. |
return | void |
public sendReplyToInbox ( |
||
request | The MamaMsg to which you are responding. | |
reply | The MamaMsg to be sent as the reply. | |
return | void |
public sendWithThrottle ( |
||
message | The mamaMsg to send. | |
callback | MamaSendCompleteCallback | Callback invoked once the message has been send on /// the throttle |
closure | object | User supplied data returned in the send complete callback. |
return | void |