1 23 package org.objectweb.joram.mom.proxies; 24 25 import fr.dyade.aaa.agent.*; 26 27 public class GetConnectionNot extends SyncNotification { 28 29 private int key; 30 31 public GetConnectionNot(int key) { 32 this.key = key; 33 } 34 35 public final int getKey() { 36 return key; 37 } 38 39 public void Return(ConnectionContext ctx) { 40 Return(new Object [] {ctx}); 41 } 42 43 public ConnectionContext getConnectionContext() { 44 return (ConnectionContext)getValue(0); 45 } 46 47 55 public StringBuffer toString(StringBuffer output) { 56 output.append('('); 57 super.toString(output); 58 output.append(",key=").append(key); 59 output.append(')'); 60 61 return output; 62 } 63 } 64 | Popular Tags |