Package org.jboss.jms.wireformat

Source Code of org.jboss.jms.wireformat.ConnectionFactoryCreateConnectionDelegateResponse

/*    */ package org.jboss.jms.wireformat;
/*    */
/*    */ import java.io.DataInputStream;
/*    */ import java.io.DataOutputStream;
/*    */ import org.jboss.jms.delegate.CreateConnectionResult;
/*    */
/*    */ public class ConnectionFactoryCreateConnectionDelegateResponse extends ResponseSupport
/*    */ {
/*    */   private CreateConnectionResult res;
/*    */
/*    */   public ConnectionFactoryCreateConnectionDelegateResponse()
/*    */   {
/*    */   }
/*    */
/*    */   public ConnectionFactoryCreateConnectionDelegateResponse(CreateConnectionResult res)
/*    */   {
/* 48 */     super(100100);
/*    */
/* 50 */     this.res = res;
/*    */   }
/*    */
/*    */   public Object getResponse()
/*    */   {
/* 55 */     return this.res;
/*    */   }
/*    */
/*    */   public void write(DataOutputStream os) throws Exception
/*    */   {
/* 60 */     super.write(os);
/*    */
/* 62 */     this.res.write(os);
/*    */
/* 64 */     os.flush();
/*    */   }
/*    */
/*    */   public void read(DataInputStream is) throws Exception
/*    */   {
/* 69 */     this.res = new CreateConnectionResult();
/*    */
/* 71 */     this.res.read(is);
/*    */   }
/*    */ }

/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/jboss-embedded-all.jar
* Qualified Name:     org.jboss.jms.wireformat.ConnectionFactoryCreateConnectionDelegateResponse
* JD-Core Version:    0.6.0
*/
TOP

Related Classes of org.jboss.jms.wireformat.ConnectionFactoryCreateConnectionDelegateResponse

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.