Class Redwood::MBox::SSHFile
In: lib/sup/mbox/ssh-file.rb
Parent: Object

the file-like interface to a remote file

Methods

connect   eof   eof?   gets   new   path   read   seek   size   tell   to_s   total  

Constants

MAX_BUF_SIZE = 1024 * 1024
MAX_TRANSFER_SIZE = 1024 * 128
REASONABLE_TRANSFER_SIZE = 1024 * 32
SIZE_CHECK_INTERVAL = 60 * 1
RECOVERABLE_ERRORS = [ Errno::EPIPE, Errno::ETIMEDOUT ]   upon these errors we‘ll try to rereconnect a few times

Public Class methods

Public Instance methods

[Validate]