|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgr.uoa.di.madgik.commons.channel.proxy.local.LocalChannelLocator
public class LocalChannelLocator
Defines a local proxy locator capable of identifying a channel in the same address space as the one it was created in
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface gr.uoa.di.madgik.commons.channel.proxy.IChannelLocator |
|---|
IChannelLocator.LocatorType |
| Constructor Summary | |
|---|---|
LocalChannelLocator()
Instantiates a new local channel locator. |
|
| Method Summary | |
|---|---|
void |
Decode(byte[] payload)
Unmarshals a serialization as returned by the IChannelLocator.Encode() method |
byte[] |
Encode()
Marshals the locator in a serialized form that can then be passed to IChannelLocator.Decode(byte[])
to create a new instance of the locator. |
boolean |
equals(java.lang.Object o)
|
void |
FromURI(java.net.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 |
int |
hashCode()
|
void |
SetRegistryKey(ChannelRegistryKey RegistryKey)
Sets the registry UUID the channel that this locator identifies has been assigned |
java.lang.String |
toString()
|
java.net.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. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LocalChannelLocator()
| Method Detail |
|---|
public void Decode(byte[] payload)
throws java.lang.Exception
IChannelLocatorIChannelLocator.Encode() method
Decode in interface IChannelLocatorpayload - The locator serialization
java.lang.Exception - The deserialization could not be performed
public byte[] Encode()
throws java.lang.Exception
IChannelLocatorIChannelLocator.Decode(byte[])
to create a new instance of the locator.
Encode in interface IChannelLocatorjava.lang.Exception - The serialization could not be performedpublic IChannelLocator.LocatorType GetLocatorType()
IChannelLocator
GetLocatorType in interface IChannelLocatorpublic ChannelRegistryKey GetRegistryKey()
IChannelLocator
GetRegistryKey in interface IChannelLocatorpublic void SetRegistryKey(ChannelRegistryKey RegistryKey)
IChannelLocator
SetRegistryKey in interface IChannelLocatorRegistryKey - The registry UUID of the identified channel
public java.net.URI ToURI()
throws java.lang.Exception
IChannelLocatorIChannelLocator#FromXML(String)
to create a new instance of the locator.
ToURI in interface IChannelLocatorjava.lang.Exception - The serialization could not be performed
public void FromURI(java.net.URI locator)
throws java.lang.Exception
IChannelLocatorIChannelLocator#ToXML() method
FromURI in interface IChannelLocatorjava.lang.Exception - The deserialization could not be performedpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||