| Osgood :: Client. Client per l'Osgood Passive, coda per eventi persistenti |
Scarica ora |
Osgood :: Client. Classifica e riepilogo
- Licenza:
- Perl Artistic License
- Nome editore:
- Cory G Watson
- Sito web dell'editore:
- http://search.cpan.org/~gphat/
Osgood :: Client. Tag
Osgood :: Client. Descrizione
Cliente per l'Osgood Passive, coda per eventi persistenti Osgood :: Client è un modulo Perl che fornisce un cliente per l'invio di eventi o recuperare gli eventi da un Queue-Osgood.synopsisto Invia alcuni eventi: My $ Event = Osgood :: Event-> New (Object => 'Moose', Azione = > 'Farted', Date_occured => DateTime-> Ora); My $ List = Osgood :: Eventlist-> Nuovo (eventi => ) My $ client = Osgood :: client-> Nuovo (URL => 'http: // localhost', list => $ List); My $ retval = $ client-> invia; se ($ List-> Dimensione == $ retal) {stampa "successo :) \ n"; } else {stampa "Fallimento: (\ n";} per query per eventi Utilizzare DateTime; utilizzare Osgood :: Cliente; Utilizzare URI; My $ Client = Osgood :: Cliente-> Nuovo (URL => URi-> Nuovo (' http: // localhost: 3000 '),); $ client-> query ({Object =>' Moose ', azione =>' Farted '}); IF ($ client-> Elenco-> Dimensione == 1) { Stampa "Success \ n";} else {stampa "errore \ n";} Requisiti: · Perl.
Osgood :: Client. Software correlato