COM Wrapper for IPeekConversationStat. More...

List of all members.

Public Member Functions

HRESULT SrcIPAddress ([out, retval] BSTR *pSrcIP)
HRESULT DestIPAddress ([out, retval] BSTR *pDestIP)
HRESULT Protocol ([out, retval] BSTR *pProtocol)
HRESULT BytesSent ([out, retval] DOUBLE *pBytesSent)
HRESULT BytesReceived ([out, retval] DOUBLE *pBytesReceived)
HRESULT PacketsSent ([out, retval] DOUBLE *pPacketsSent)
HRESULT PacketsReceived ([out, retval] DOUBLE *pPacketsReceived)
HRESULT FirstSent ([out, retval] DATE *pDate)
HRESULT FirstReceived ([out, retval] DATE *pDate)
HRESULT LastSent ([out, retval] DATE *pDate)
HRESULT LastReceived ([out, retval] DATE *pDate)
HRESULT Create ([in] BSTR strSrcIP,[in] BSTR strDestIP,[in] BSTR strProtocol,[in] ULONGLONG nBytesSent,[in] ULONGLONG nBytesReceived,[in] ULONGLONG nPacketsSent,[in] ULONGLONG nPacketsReceived,[in] DATE dFirstSent,[in] DATE dFirstReceived,[in] DATE dLastSent,[in] DATE dLastReceived)


Detailed Description

COM Wrapper for IPeekConversationStat.

This interface is implemented by PeekConversationStat to wrap IPeekConversationStat for Scripting clients to a conversation.


Member Function Documentation

HRESULT IPeekConversationStat::BytesReceived [out, retval] DOUBLE *  pBytesReceived  ) 
 

Get the conversation's number of received bytes.

Parameters:
pBytesReceived Number of received bytes.
Return values:
S_OK Success.
Remarks:
None.
HRESULT IPeekConversationStat::BytesSent [out, retval] DOUBLE *  pBytesSent  ) 
 

Get the conversation's number of sent bytes.

Parameters:
pBytesSent Number of sent bytes.
Return values:
S_OK Success.
Remarks:
None.
HRESULT IPeekConversationStat::Create [in] BSTR  strSrcIP,
[in] BSTR  strDestIP,
[in] BSTR  strProtocol,
[in] ULONGLONG  nBytesSent,
[in] ULONGLONG  nBytesReceived,
[in] ULONGLONG  nPacketsSent,
[in] ULONGLONG  nPacketsReceived,
[in] DATE  dFirstSent,
[in] DATE  dFirstReceived,
[in] DATE  dLastSent,
[in] DATE  dLastReceived
 

Create a conversation.

Parameters:
strSrcIP Source IP address string.
strDestIP Destination IP address string.
strProtocol Protocol string.
nBytesSent Number of sent bytes.
nBytesReceived Number of received bytes.
nPacketsSent Number of sent packets.
nPacketsReceived Number of received packets.
dFirstSent DATE for first sent packet.
dFirstReceived DATE for first received packet.
dLastSent DATE for last sent packet.
dLastReceived DATE for last received packet.
Return values:
S_OK Success.
Remarks:
None.
HRESULT IPeekConversationStat::DestIPAddress [out, retval] BSTR *  pDestIP  ) 
 

Get the conversation's destination IP address.

Parameters:
pDestIP String for destination IP address.
Return values:
S_OK Success.
Remarks:
None.
HRESULT IPeekConversationStat::FirstReceived [out, retval] DATE *  pDate  ) 
 

Get the conversation's date for first received packet.

Parameters:
pDate DATE of first received packet.
Return values:
S_OK Success.
Remarks:
None.
HRESULT IPeekConversationStat::FirstSent [out, retval] DATE *  pDate  ) 
 

Get the conversation's date for first sent packet.

Parameters:
pDate DATE of first sent packet.
Return values:
S_OK Success.
Remarks:
None.
HRESULT IPeekConversationStat::LastReceived [out, retval] DATE *  pDate  ) 
 

Get the conversation's date for last received packet.

Parameters:
pDate DATE of last received packet.
Return values:
S_OK Success.
Remarks:
None.
HRESULT IPeekConversationStat::LastSent [out, retval] DATE *  pDate  ) 
 

Get the conversation's for last sent packet.

Parameters:
pDate DATE of last sent packet.
Return values:
S_OK Success.
Remarks:
None.
HRESULT IPeekConversationStat::PacketsReceived [out, retval] DOUBLE *  pPacketsReceived  ) 
 

Get the conversation's number of received packets.

Parameters:
pPacketsReceived Number of received packets.
Return values:
S_OK Success.
Remarks:
None.
HRESULT IPeekConversationStat::PacketsSent [out, retval] DOUBLE *  pPacketsSent  ) 
 

Get the conversation's number of sent packets.

Parameters:
pPacketsSent Number of sent packets.
Return values:
S_OK Success.
Remarks:
None.
HRESULT IPeekConversationStat::Protocol [out, retval] BSTR *  pProtocol  ) 
 

Get the conversation's protocol.

Parameters:
pProtocol Protocol string.
Return values:
S_OK Success.
Remarks:
None.
HRESULT IPeekConversationStat::SrcIPAddress [out, retval] BSTR *  pSrcIP  ) 
 

Get the conversation's source IP address.

Parameters:
pSrcIP Source IP address string.
Return values:
S_OK Success.
Remarks:
None.