Delta Tau PMAC User Manual Page 15

  • Download
  • Add to my manuals
  • Print
  • Page
    / 22
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 14
Delta Tau Power PMAC EPICS Device Support Manual
8 February 2013
15
Method
setBlocking
Parameters
Blocking - 0 for non-blocking, 1 for blocking.
Return
SSHDriverStatus.
Description
This is a private method and will always be set to 0 for the Power
PMAC module to avoid blocking read calls.
Method
flush
Parameters
None.
Return
SSHDriverStatus.
Description
Attempt to flush the connection. Also performs a read to ensure no
bytes are hanging around for the next read.
Method
write
Parameters
Buffer - The ascii buffer to write.
BufferSize - The number of bytes to write (size of buffer).
BytesWritten - The actual number of bytes that were written.
Timeout - The number of milliseconds to wait before timing out.
Return
SSHDriverStatus.
Description
Write a message to the connection. The echoed message is then read
back from the connection so that the next read does not contain these
extra bytes.
Method
read
Parameters
Buffer - A string buffer to hold the data that has been read.
BufferSize - The maximum number of bytes to read (the size of the
buffer).
BytesRead - The actual number of bytes read.
ReadTerm - A terminator to use as a check for the end of the
message.
Timeout - The number of milliseconds to wait before timing out.
Return
SSHDriverStatus.
Description
Read data from the connected channel. The read method will
continue to read data from the channel until either the specified
terminator is read or the timeout is reached.
Method
disconnectSSH
Parameters
None.
Return
SSHDriverStatus.
Description
Close the connection.
Method
~SSHDriver
Parameters
None.
Return
N/A
Description
Destructor.
Page view 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 21 22

Comments to this Manuals

No comments