public interface IChannelLocator extends Serializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
IChannelLocator.LocatorType
Defines the available locators that can be used by the framework
|
| Modifier and Type | Method and Description |
|---|---|
void |
Decode(byte[] payload)
Unmarshals a serialization as returned by the
Encode() method |
byte[] |
Encode()
Marshals the locator in a serialized form that can then be passed to
Decode(byte[])
to create a new instance of the locator. |
void |
FromURI(URI locator)
Unmarshals a serialization as returned by the
IChannelLocator#ToXML() method |
IChannelLocator.LocatorType |
GetLocatorType()
Retrieves the Locator Type of the proxy locator
|
ChannelRegistryKey |
GetRegistryKey()
Retrieves the registry UUID the channel that this locator identifies has been assigned
|
void |
SetRegistryKey(ChannelRegistryKey RegistryKey)
Sets the registry UUID the channel that this locator identifies has been assigned
|
URI |
ToURI()
Marshals the locator in a serialized human readable XML form that can then be passed to
IChannelLocator#FromXML(String)
to create a new instance of the locator. |
IChannelLocator.LocatorType GetLocatorType()
ChannelRegistryKey GetRegistryKey()
void SetRegistryKey(ChannelRegistryKey RegistryKey)
RegistryKey - The registry UUID of the identified channelURI ToURI() throws Exception
IChannelLocator#FromXML(String)
to create a new instance of the locator.Exception - The serialization could not be performedvoid FromURI(URI locator) throws Exception
IChannelLocator#ToXML() methodxml - The locator serializationException - The deserialization could not be performedbyte[] Encode()
throws Exception
Decode(byte[])
to create a new instance of the locator.Exception - The serialization could not be performedCopyright © 2018. All Rights Reserved.