nanoserv
[ class tree: nanoserv ] [ index: nanoserv ] [ all elements ]

Class: NS_I_Write_Buffer

Source Location: /nanoserv.php

Interface Overview


Write buffer interface


Methods



Class Details

[line 844]
Write buffer interface



[ Top ]


Class Methods


constructor __construct [line 853]

NS_I_Write_Buffer __construct( NS_Socket $socket, mixed $data, [mixed $callback = false])

Setup a new write buffer



Tags:

access:  public


Parameters:

NS_Socket   $socket  
mixed   $data  
mixed   $callback  

[ Top ]

method Waiting_Data [line 861]

bool Waiting_Data( )

Get availability of data



Tags:

since:  0.9
access:  public


[ Top ]

method Write [line 868]

void Write( [int $length = NULL])

Write data to socket and advance buffer pointer



Tags:

access:  public


Parameters:

int   $length  

[ Top ]


Documentation generated on Thu, 10 May 2012 22:01:24 +0200 by phpDocumentor 1.4.4