1 45 package org.exolab.jms.net.vm; 46 47 import org.exolab.jms.net.connector.Connection; 48 import org.exolab.jms.net.connector.Request; 49 import org.exolab.jms.net.connector.Response; 50 import org.exolab.jms.net.uri.URI; 51 52 53 61 class VMConnection implements Connection { 62 63 66 private VMManagedConnection _connection; 67 68 69 74 public VMConnection(VMManagedConnection connection) { 75 _connection = connection; 76 } 77 78 84 public Response invoke(Request request) { 85 return _connection.invoke(this, request); 86 } 87 88 93 public URI getRemoteURI() { 94 return _connection.getRemoteURI(); 95 } 96 97 102 public URI getLocalURI() { 103 return _connection.getLocalURI(); 104 } 105 106 } 107 | Popular Tags |