Nedap.HandheldApi
Public Member Functions | Properties | Events
Nedap.HandheldApi.CommunicationQueue.CommunicationQueue Class Reference

Defines 2-way communication queue which interacts with communication port. More...

Inheritance diagram for Nedap.HandheldApi.CommunicationQueue.CommunicationQueue:
Nedap.HandheldApi.CommunicationQueue.ICommunicationQueue

List of all members.

Public Member Functions

 CommunicationQueue (ICommunicationPort port)
 Constructor.
void SendCommand (Session.Command command, byte[] data)
 Method for sendind a command.
void Dispose ()
 Dispose.

Properties

bool Disposed [get, set]

Events

EventHandler
< ResponseReceivedEventArgs
OnResponseReceived
 Event that willl be trigered when responce is received.

Detailed Description

Defines 2-way communication queue which interacts with communication port.


Constructor & Destructor Documentation

Nedap.HandheldApi.CommunicationQueue.CommunicationQueue.CommunicationQueue ( ICommunicationPort  port)

Constructor.

Parameters:
port

Member Function Documentation

void Nedap.HandheldApi.CommunicationQueue.CommunicationQueue.Dispose ( )

Dispose.

void Nedap.HandheldApi.CommunicationQueue.CommunicationQueue.SendCommand ( Session.Command  command,
byte[]  data 
)

Method for sendind a command.

Parameters:
commandCommand to send
dataData to send

Event Documentation

EventHandler<ResponseReceivedEventArgs> Nedap.HandheldApi.CommunicationQueue.CommunicationQueue.OnResponseReceived

Event that willl be trigered when responce is received.

Implements Nedap.HandheldApi.CommunicationQueue.ICommunicationQueue.