Hi
I assume *you passed* the Robot
Registration<http://code.google.com/apis/wave/extensions/robots/operations.html#ActiveRobotAPI>
.
class WaveCreatorSeervlet extends HttpServlet
{
void service(HttpServletRequest req, HttpServletResponse resp)
{
// read some params (participants,wave title) from the 'req' and tell
the robot to create //the wave
robot.createWave(participants,title);
}
// this is an instance of your robot
private static MyRobot robot = new MyRobot();
}
Avishay
On Fri, Jun 11, 2010 at 7:13 PM, Léo SEI <[email protected]> wrote:
> I would be intresting by the sample code as well.
>
> And concerning the address of the bot, how do I find it? is it via the
> registering system of google bots ? do we have a unique addresse to
> contact our bot ?
>
> thanks
> cheers
>
> On Jun 11, 4:32 am, John Scott <[email protected]> wrote:
> > Hi Avishay, do you have some sample code you can share that shows how
> this
> > is done ?
> >
> > Cheers, Johno!
> >
> > On Thu, Jun 10, 2010 at 4:56 PM, Avishay Balderman <[email protected]
> >wrote:
> >
> >
> >
> > > Hi
> > > All you need to do is to write a servlet which will handle the calls
> from
> > > "outside of
> > > google platforms". This servlet can instantiate the robot and call is
> his
> > > methods.
> > > We do it in a project where we want the robot to create new wave upon a
> > > call from a remote location.
> >
> > > Avishay
> >
> > > On Thu, Jun 10, 2010 at 1:06 AM, Léo SEI <[email protected]> wrote:
> >
> > >> Hi,
> > >> I thought I had seen something like that but I can't find it back.
> > >> Is it possible to contact a wave robot from a webserver outside of
> > >> google platforms ?
> >
> > >> Thanks a lot
> >
> > >> Léo
> >
> > >> --
> > >> You received this message because you are subscribed to the Google
> Groups
> > >> "Google Wave API" group.
> > >> To post to this group, send email to [email protected]
> .
> > >> To unsubscribe from this group, send email to
> > >> [email protected]<google-wave-api%[email protected]>
> <google-wave-api%[email protected]<google-wave-api%[email protected]>
> >
> > >> .
> > >> For more options, visit this group at
> > >>http://groups.google.com/group/google-wave-api?hl=en.
> >
> > > --
> > > Avishay Balderman
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google Wave API" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<google-wave-api%[email protected]>
> <google-wave-api%[email protected]<google-wave-api%[email protected]>
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-wave-api?hl=en.
> >
> > --
> > Regards,
> >
> > John Scott
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Wave API" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-wave-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-wave-api?hl=en.
>
>
--
Avishay Balderman
--
You received this message because you are subscribed to the Google Groups
"Google Wave API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-wave-api?hl=en.