Package org.jboss.jms.wireformat

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

/*    */ package org.jboss.jms.wireformat;
/*    */
/*    */ import java.io.DataInputStream;
/*    */ import java.io.DataOutputStream;
/*    */ import org.jboss.jms.client.delegate.ClientSessionDelegate;
/*    */
/*    */ public class ConnectionCreateSessionDelegateResponse extends ResponseSupport
/*    */ {
/*    */   private ClientSessionDelegate del;
/*    */
/*    */   public ConnectionCreateSessionDelegateResponse()
/*    */   {
/*    */   }
/*    */
/*    */   public ConnectionCreateSessionDelegateResponse(ClientSessionDelegate del)
/*    */   {
/* 49 */     super(100200);
/*    */
/* 51 */     this.del = del;
/*    */   }
/*    */
/*    */   public Object getResponse()
/*    */   {
/* 56 */     return this.del;
/*    */   }
/*    */
/*    */   public void write(DataOutputStream os) throws Exception
/*    */   {
/* 61 */     super.write(os);
/*    */
/* 63 */     this.del.write(os);
/*    */
/* 65 */     os.flush();
/*    */   }
/*    */
/*    */   public void read(DataInputStream is) throws Exception
/*    */   {
/* 70 */     this.del = new ClientSessionDelegate();
/*    */
/* 72 */     this.del.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.ConnectionCreateSessionDelegateResponse
* JD-Core Version:    0.6.0
*/
TOP

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

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.