Caucho Forums  

This forum is permanently closed because of spam. For free community support, please visit Google Groups:


Go Back   Caucho Forums > Hessian

Reply
 
Thread Tools Display Modes
  #1  
Old 12-10-2010, 02:17 AM
ferg ferg is offline
Administrator
 
Join Date: Aug 2009
Posts: 190
Default HMTP ActorStream simplification

We've decided to simplify the HMTP ActorStream model by combining queryGet and querySet into a single query call and by splitting the ActorStream API into its own low-level package: com.caucho.bam.stream.

Now, HMTP is stripped to its essence: a one-way messaging call and a request-response query call. The new ActorStream looks like the following:


package com.caucho.bam.stream;

public interface ActorStream {
public String getJid();

public void message(String to, String from, Serializable payload);
public void messageError(String to, String from, Serializable payload, ActorError error);

public void query(long qId, String to, String from, Serializable payload);
public void queryResponse(long qId, String to, String from, Serializable payload);
public void queryError(long qId, String to, String from, Serializable payload, ActorError error);
}
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:02 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.