Create your own Wave Client and Connect to Wave Sandbox.

7 views
Skip to first unread message

iolzza

unread,
Aug 24, 2009, 2:14:06 AM8/24/09
to Google Wave API, thor...@google.com
I thougth that Sandbox Instance was implemented using wave
architecure, so i have been trying to connect to Sandbox from Server
Side using the Java Implementation of Wave Model (see
http://code.google.com/p/wave-protocol/ ), cause de Robot API only
provides a way to interact inside the wave via navigator aftere
enabling a session via web.

For example, i want to load a wave not via javascript . I want to
mean , i want to
this :

wavePanel.loadWave('wavesandbox.com!w+waveID');


but from a Google App, for example, to from a robot. I want to build
my own Wave Client .Something similar to java
Twitter API, or other server-side api's . Maybe something like this :

/*

WaveAPI waveFactoyAPInstance = WaveAPI.getInstance
("user@wavesandbox", "password");
Wave wave = waveFactoyAPInstance.getWaveByID ("XXXXXXXXX"):

Wavelet wavelet = wave.appendWavelet();
Blip blip = wavelet.appendBlip();
TextView textView = blip.getDocument();
textView.append("I'm alive!");

*/

I suppose I can't do yet. Another thing i want to do is to create
my own Wave Server and "federate" to Sandbox, for example.

What do you think about this??

James Purser

unread,
Aug 24, 2009, 2:38:50 AM8/24/09
to google-...@googlegroups.com, thor...@google.com
Hi,

With regards to federating with the Sandbox, I believe the guys and
girls at Google haven't opened up that facility just yet (I think
they're slightly busy, preparing for the 100,000 person wave thingy).

However I would recommend that you setup your own wave server. There is
a growing number of us who have setup the WRS (Wave Reference Server)
and are tooling around with it, prodding it and trying to get it to do
things.

--
James Purser
Collaborynth
http://collaborynth.com.au
Mob: +61 406 576 553
Skype: purserj1977
twitter: www.twitter.com/purserj
GTalk: jamesr...@gmail.com

Joshua Scarsbrook

unread,
Aug 24, 2009, 3:29:28 AM8/24/09
to google-...@googlegroups.com
Hi,

Good to see the 100,000 people is coming up, will wave clients be able
to start being devloped now. i would like to see a java and .net control
that allows wave interaction, this is something yet unseen.

Thanks
Vbitz

iolzza

unread,
Aug 25, 2009, 2:20:41 AM8/25/09
to Google Wave API
Hi Joshua, what do you want to mean with a "java control to
allow wave interaction" ? I suppose that you want to mean that with
Robot API you only can interact inside the same Wave... It would be a
good idea for example to move, copy, etc.. wavelets from a Wave to
another. I'm agree with that

I miss a way to interact to Wave SandBox from a client diferent to a
Robot (a robot isn't exactly a client)... to load a wave in server
side or to connect diferent Wave Servers , to do login in my own
client, etc.. Another thing I miss is to use or insert full HTML in a
wave. The html you can insert is very limited (despite the insertion
of a iframe but u lose the wave's functions) . I have read (i don't
know where) thas this will be possible soon. Imagine, you can wave a
full web page creating differents wavelets .. A full 2.0 web page ,
much more powerful than a wiki page!!

I suppose Google will allow to connect Sandbox from your own client
on early future, insert full html....is a way to develop more
funcionalities.

But i'm agree to James that 100,000 person on Sandbox is a lot of
work , many things to do!! I feel privileged to use nowadays a Sandbox
account! :-)



Bye

iolzza

unread,
Aug 27, 2009, 8:25:17 AM8/27/09
to Google Wave API, thor...@google.com

IT'S A PITY !!!!

"The remote host forced the current connection to be closed"

The remote host forced the current connection to be closed



ClientBackend client = new ClientBackend
("my.ac...@wavesandbox.com", "wave.google.com",443);

for (Iterator it = client.waves.keySet().iterator(); it.hasNext() ; )
{

WaveId waveID = (WaveId)it.next();
ClientWaveView currentView = client.getWave(waveID);
for( WaveletData x : currentView.getWavelets()){
System.out.println(x.getWaveletName());

for ( ParticipantId part : x.getParticipants()){
System.out.println(part.getDomain());
System.out.println(part.getAddress());

}

}
}
Reply all
Reply to author
Forward
0 new messages