Hi Luke,
 
 
Just a thought, why don't you embed openamf's code into red5?  
 
because openamf has been proven working gr8, and it's also open.
 
 
 

sobluesky
2006-05-04

 
Date:  Thu,  4  May  2006  18:52:26  +0700
From:  "Luke  Hubbard"   <[EMAIL PROTECTED] >
Subject:  Re:  [Red5]  How  can  I  get  httpRequst  in  red5  flash  remoting??
Message-ID:
<[EMAIL PROTECTED] >
Content-Type:  text/plain;  charset="iso-8859-1"
 
Hi  SoBlueSky,
 
Sorry  I  replied  originally  but  it  got  bounced.  We  dont  have  it  yet  but  I
will  add  it  when  I  return  to  the  land  of  broadband  connections.  Like  in  your
original  post  we  will  probably  use  a  static  class  holding  a  thread  local  to
give  access  to  servlet  context,  request,  set  cookie,  etc.  Sorry  the
functionality  isnt  there  right  now,  you  can  expect  to  see  it  added  in  the
next  release.
 
--  Luke
 
 
On  5/3/06,  sobluesky   <[EMAIL PROTECTED] >  wrote:
>
>    Hi,  guys,  this  is  really  simple  and  urgent:
>
>
>  // > > > > >swf:
>      NetServices.setDefaultGatewayUrl("http://localhost:5080/test/gateway");
>      var  _amfConn  =  NetServices.createGatewayConnection();
>      var  ds  =  _amfConn.getService(  "swf",  this  );
>      ds.swfConnect(  {  aaa:"adfwefs",  bbb:{    s1se:"sefe",    iis:9823838,
>  soes:new  Date()  }  }  );
>    }
>    function  doit_Status(  o  ){
>      var  tmp  =  o;
>      trace(  tmp  );
>    }
>    function  doit_Result(  o  ){
>      var  tmp  =  o;
>      trace(  tmp  );
>    }
>
>
>  // > > > > > >red5-web.xml
>     <bean  id="swf.service"
>            class="test.amf.Test"
>      singleton="true"  / >
>
>
>
>  // > > > > > >java
>  package  test.amf;
>  class  Test{
>          public  Hashtable <Object,Object >  swfConnect(  Object  o  ){
>                  *//  how  can  I  get  the  httpRequest  here?????*
>                  System.out.println(  "yanggang.amf.Test.....................111111111"  );
>                  Hashtable <Object,Object >  ht  =  new  Hashtable <Object,  Object >(  );
>                  ht.put(  "param",  o  );
>                  ht.put(  "parsfe",  o  );
>
>                  System.out.println(  "yanggang.amf.Test.....................222222"  );
>                  return  ht;
>          }
>  }
>
>  thanks  a  lot!
>
>  -sobluesky
>
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to