// BamFtp_p.h (c) 2011 Derek Barnett
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
-// Last modified: 10 October 2011 (DB)
+// Last modified: 10 November 2011 (DB)
// ---------------------------------------------------------------------------
// Provides reading/writing of BAM files on FTP server
// ***************************************************************************
bool IsRandomAccess(void) const;
bool Open(const IBamIODevice::OpenMode mode);
int64_t Read(char* data, const unsigned int numBytes);
- bool Seek(const int64_t& position);
+ bool Seek(const int64_t& position, const int origin = SEEK_SET);
int64_t Tell(void) const;
int64_t Write(const char* data, const unsigned int numBytes);
// data members
private:
- // our main socket
+
+ // our main sockets
TcpSocket* m_commandSocket;
TcpSocket* m_dataSocket;