[ Index ]

MailPress 7.2

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/mp-includes/composer/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/ -> StreamBuffer.php (summary)

(no description)

File Size: 319 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Swift_Transport_StreamBuffer:: (14 methods):
  __construct()
  initialize()
  setParam()
  startTLS()
  terminate()
  setWriteTranslations()
  readLine()
  read()
  setReadPointer()
  flush()
  doCommit()
  establishSocketConnection()
  establishProcessConnection()
  getReadConnectionDescription()


Class: Swift_Transport_StreamBuffer  - X-Ref

A generic IoBuffer implementation supporting remote sockets and local processes.

__construct(Swift_ReplacementFilterFactory $replacementFactory)   X-Ref
Create a new StreamBuffer using $replacementFactory for transformations.


initialize(array $params)   X-Ref
Perform any initialization needed, using the given $params.

Parameters will vary depending upon the type of IoBuffer used.

setParam($param, $value)   X-Ref
Set an individual param on the buffer (e.g. switching to SSL).

param: string $param
param: mixed  $value

startTLS()   X-Ref
No description

terminate()   X-Ref
Perform any shutdown logic needed.


setWriteTranslations(array $replacements)   X-Ref
Set an array of string replacements which should be made on data written
to the buffer.

This could replace LF with CRLF for example.

param: string[] $replacements

readLine($sequence)   X-Ref
Get a line of output (including any CRLF).

The $sequence number comes from any writes and may or may not be used
depending upon the implementation.

param: int $sequence of last write to scan from
return: string

read($length)   X-Ref
Reads $length bytes from the stream into a string and moves the pointer
through the stream by $length.

If less bytes exist than are requested the remaining bytes are given instead.
If no bytes are remaining at all, boolean false is returned.

param: int $length
return: string|bool

setReadPointer($byteOffset)   X-Ref
No description

flush()   X-Ref
No description

doCommit($bytes)   X-Ref
No description

establishSocketConnection()   X-Ref
Establishes a connection to a remote server.


establishProcessConnection()   X-Ref
Opens a process for input/output.


getReadConnectionDescription()   X-Ref
No description



Generated: Tue May 19 15:55:14 2020 Cross-referenced by PHPXref 0.7.1