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

Class: AS2Server

Source Location: /AS2Server.php

Class Overview


AS2Secure - PHP Lib for AS2 message encoding / decoding


Author(s):

Version:

  • 0.9.0

Copyright:

  • Copyright (c) 2010, Sebastien MALOT

    Last release at : http://www.as2secure.com

    This file is part of AS2Secure Project.

    AS2Secure is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

    AS2Secure is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

    You should have received a copy of the GNU General Public License along with AS2Secure.

Constants

Methods



Class Details

[line 33]
AS2Secure - PHP Lib for AS2 message encoding / decoding



Tags:

author:  Sebastien MALOT <contact@as2secure.com>
version:  0.9.0
copyright:  

Copyright (c) 2010, Sebastien MALOT

Last release at : http://www.as2secure.com

This file is part of AS2Secure Project.

AS2Secure is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

AS2Secure is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with AS2Secure.

license:  GNU General Public License


[ Top ]


Class Methods


static method closeConnectionAndWait [line 272]

static void closeConnectionAndWait( int $sleep)

Close current HTTP connection and wait some secons



Tags:

access:  protected


Parameters:

int   $sleep   The number of seconds to wait for

[ Top ]

static method handle [line 44]

static request handle( [request $request = null])

Handle a request (server side)



Tags:

return:  The request handled
access:  public


Parameters:

request   $request   (If not set, get data from standard input)

[ Top ]

static method saveMessage [line 236]

static String saveMessage( content $content, headers $headers, [filename $filename = ''], [type $type = 'raw'])

Save the content of the request for futur handle and/or backup



Tags:

return:  : The main filename
access:  protected


Parameters:

content   $content   The content to save (mandatory)
headers   $headers   The headers to save (optional)
filename   $filename   The filename to use if known (optional)
type   $type   Values : raw | decrypted | payload (mandatory)

[ Top ]


Class Constants

TYPE_MDN =  'MDN'

[line 35]


[ Top ]

TYPE_MESSAGE =  'Message'

[line 34]


[ Top ]



Documentation generated on Wed, 03 Nov 2010 22:51:31 +0100 by phpDocumentor 1.4.3