Click or drag to resize
BroccoliSharp BroConnectionSendEvent Method (BroEvent)
Attempts to send a BroEvent to a Bro agent.

Namespace: BroccoliSharp
Assembly: BroccoliSharp (in BroccoliSharp.dll) Version: 1.0.5434.15853
Syntax
public bool SendEvent(
	BroEvent event
)

Parameters

event
Type: BroccoliSharpBroEvent
BroEvent to attempt to send.

Return Value

Type: Boolean
true if the event was sent or queued for later transmission; otherwise false on error.
Exceptions
ExceptionCondition
ArgumentNullExceptionevent is null.
ObjectDisposedExceptionCannot send event, BroConnection or BroEvent is disposed.
Remarks
There are no automatic repeated send attempts (to minimize the effect on the code that Broccoli is linked to). To verify all events were sent, attempt to empty the queue using Flush.
See Also