org.apache.yoko.orb.OCI.IIOP
Class CorbalocProtocol_impl

java.lang.Object
  extended by org.omg.CORBA.LocalObject
      extended by org.apache.yoko.orb.OCI.IIOP.CorbalocProtocol_impl
All Implemented Interfaces:
CorbalocProtocol, CorbalocProtocolOperations, Object

public class CorbalocProtocol_impl
extends LocalObject
implements CorbalocProtocol


Constructor Summary
CorbalocProtocol_impl()
           
 
Method Summary
 void destroy()
          Release any resources held by the object.
 String name()
          Each protocol must have a unique name.
 TaggedProfile parse_address(String addr, byte[] key)
          Parse a protocol address and create a tagged profile for inclusion in an IOR.
 
Methods inherited from class org.omg.CORBA.LocalObject
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Constructor Detail

CorbalocProtocol_impl

public CorbalocProtocol_impl()
Method Detail

name

public String name()
Description copied from interface: CorbalocProtocolOperations
Each protocol must have a unique name. All protocol names must be in lower case.

Specified by:
name in interface CorbalocProtocolOperations

parse_address

public TaggedProfile parse_address(String addr,
                                   byte[] key)
Description copied from interface: CorbalocProtocolOperations
Parse a protocol address and create a tagged profile for inclusion in an IOR.

Specified by:
parse_address in interface CorbalocProtocolOperations
Parameters:
addr - The protocol address, not including the protocol name or trailing object key. For example, the URL corbaloc:iiop:1.2@localhost:5000/Key would result in an address argument of 1.2@localhost:5000.
key - The object key from the URL, converted into a sequence of octets.
Returns:
A tagged profile.

destroy

public void destroy()
Description copied from interface: CorbalocProtocolOperations
Release any resources held by the object.

Specified by:
destroy in interface CorbalocProtocolOperations


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.