org.apache.yoko.orb.OB
Interface CorbalocProtocolOperations

All Known Subinterfaces:
CorbalocProtocol
All Known Implementing Classes:
CorbalocProtocol_impl

public interface CorbalocProtocolOperations

The corbaloc URL scheme supports multiple protocols, the most common of which is iiop. The CorbalocURLScheme delegates the parsing of protocol address information to a registered CorbalocProtocol object.

See Also:
CorbalocURLScheme

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.
 

Method Detail

name

String name()
Each protocol must have a unique name. All protocol names must be in lower case.


parse_address

TaggedProfile parse_address(String addr,
                            byte[] key)
Parse a protocol address and create a tagged profile for inclusion in an IOR.

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.
Throws:
BAD_PARAM - In case the address is invalid.

destroy

void destroy()
Release any resources held by the object.



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