[ Index ]

MailPress 544

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

title

Body

[close]

/mp-includes/Swiftmailer/classes/Swift/Transport/ -> StreamBuffer.php (summary)

(no description)

File Size: 321 lines (9 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()
  _commit()
  _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.

param: Swift_ReplacementFilterFactory $replacementFactory

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

Parameters will vary depending upon the type of IoBuffer used.

param: array $params

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

_commit($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: Thu Apr 28 18:38:52 2016 Cross-referenced by PHPXref 0.7.1