sckstrm.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /////////////////////////////////////////////////////////////////////////////
  2. // Name: sckstrm.h
  3. // Purpose: interface of wxSocketOutputStream
  4. // Author: wxWidgets team
  5. // Licence: wxWindows licence
  6. /////////////////////////////////////////////////////////////////////////////
  7. /**
  8. @class wxSocketOutputStream
  9. This class implements an output stream which writes data from
  10. a connected socket. Note that this stream is purely sequential
  11. and it does not support seeking.
  12. @library{wxnet}
  13. @category{net,streams}
  14. @see wxSocketBase
  15. */
  16. class wxSocketOutputStream : public wxOutputStream
  17. {
  18. public:
  19. /**
  20. Creates a new write-only socket stream using the specified initialized
  21. socket connection.
  22. */
  23. wxSocketOutputStream(wxSocketBase& s);
  24. };
  25. /**
  26. @class wxSocketInputStream
  27. This class implements an input stream which reads data from
  28. a connected socket. Note that this stream is purely sequential
  29. and it does not support seeking.
  30. @library{wxnet}
  31. @category{net,streams}
  32. @see wxSocketBase
  33. */
  34. class wxSocketInputStream : public wxInputStream
  35. {
  36. public:
  37. /**
  38. Creates a new read-only socket stream using the specified initialized
  39. socket connection.
  40. */
  41. wxSocketInputStream(wxSocketBase& s);
  42. };