NAME

Thrift::Parser::Method - A Method call

DESCRIPTION

Parser representation of a service method call. Created from an Thrift::IDL::Method object. See subclass documentation for specifics.

METHODS

idl

Returns a reference to the Thrift::IDL::Method that informed the creation of this class.

idl_doc

Returns a reference to the Thrift::IDL object that this was formed from.

name

Returns the simple name of the method.

return_class

Returns the Thrift::Parser::Type subclass that represents the type of value that's an expected return value for this method.

throw_classes

Returns a hash ref of Thrift::Parser::Type::Exception subclasses that represent available exceptions to this method, keyed on the name in the specification.

compose_message_call

my $message = $subclass->compose_message_call(...);

Call with a list of key/value pairs. See the derived subclass for a list of accepted keys. The value can either be an object that's strictly typed or simple Perl data structure that is a permissable argument to the compose() call of the given Thrift::Parser::Type.

docs_as_pod

Returns a POD formatted string that documents a derived class.

COPYRIGHT

Copyright (c) 2009 Eric Waters and XMission LLC (http://www.xmission.com/). All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.

AUTHOR

Eric Waters <ewaters@gmail.com>