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 826]
Write buffer interface



[ Top ]


Class Methods


constructor __construct [line 836]

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

Setup a new write buffer



Tags:

access:  public


Parameters:

NS_Socket   $socket  
mixed   $data  
mixed   $callback  
int   $length   length

[ Top ]

method Waiting_Data [line 844]

bool Waiting_Data( )

Get availability of data



Tags:

since:  0.9
access:  public


[ Top ]

method Write [line 851]

void Write( [int $length = NULL])

Write data to socket and advance buffer pointer



Tags:

access:  public


Parameters:

int   $length  

[ Top ]


Documentation generated on Wed, 25 Aug 2010 20:20:17 +0200 by phpDocumentor 1.4.3