Title: Mobile
Description: Factory class used to create class loading and mobile channels
Copyright: Copyright (c) 2006
Company: Napier University
Type | Name and description |
---|---|
static NetSharedChannelOutput |
createAny2Net(NetChannelLocation channelLocation) Creates a new class loading NetSharedChannelOutput based on a given location |
static NetSharedChannelOutput |
createAny2Net(String channelName) Creates a new class loading NetSharedChannelOutput via the CNS using the given name |
static NetSharedChannelOutput |
createLoading(NetSharedChannelOutput aChannel) Creates a new class loading NetSharedChannelOutput based on a given location |
static NetChannelOutput |
createLoading(NetChannelOutput aChannel) Creates a class loading channel by wrapping an existing networked channel. |
static NetSharedChannelInput |
createLoading(NetSharedChannelInput aChannel) Creates a class loading channel by wrapping an existing networked channel. |
static NetAltingChannelInput |
createLoading(NetAltingChannelInput aChannel) Creates a class loading channel by wrapping an existing networked channel. |
static NetChannelInput |
createLoading(NetChannelInput aChannel) Creates a class loading channel by wrapping an existing networked channel. |
static MobileChannel |
createMobile() Creates a new instance of a Mobile channel. |
static NetSharedChannelInput |
createNet2Any() Creates a new class loading NetSharedChannelInput |
static NetSharedChannelInput |
createNet2Any(boolean loading) Creates a new class loading NetSharedChannelInput, stating whether the channel is class loading or not. |
static NetSharedChannelInput |
createNet2Any(String channelName) Creates a new class loading NetSharedChannelInput, using the given string to declare it with the CNS. |
static NetSharedChannelInput |
createNet2Any(String channelName, boolean loading) Creates a new class loading NetSharedChanelInput, using the given string to declare it with the CNS, and stating whether the channel is class loading or not. |
static NetAltingChannelInput |
createNet2One() Creates a new class loading NetAltingChannelInput |
static NetAltingChannelInput |
createNet2One(boolean loading) Creates a new class loading NetAltingChannelInput, stating whether it is class loading or not. |
static NetAltingChannelInput |
createNet2One(String channelName) Creates a new class loading NetAltingChannelInput, using the string to declare it with the CNS. |
static NetAltingChannelInput |
createNet2One(String channelName, boolean loading) Creates a new class loading NetAltingChannelInput, using the string to declare it with the CNS, and stating whether the channel is class loading or not. |
static NetSharedChannelInput |
createNonLoading(NetSharedChannelInput aChannel) Creates a class non-loading channel by wrapping an existing networked channel. |
static NetAltingChannelInput |
createNonLoading(NetAltingChannelInput aChannel) Creates a class non-loading channel by wrapping an existing networked channel. |
static NetChannelInput |
createNonLoading(NetChannelInput aChannel) Creates a class non-loading channel by wrapping an existing networked channel. |
static NetChannelOutput |
createOne2Net(NetChannelLocation channelLocation) Creates a new class loading NetChannelOutput based on a given location |
static NetChannelOutput |
createOne2Net(String channelName) Creates a new class loading NetChannelOutput via the CNS using the given name |
static void |
init(NodeKey thisNode) Used to intialise the class loading features of the mobile package. |
Creates a new class loading NetSharedChannelOutput based on a given location
channelLocation
- NetChannelLocation The location of the input channel this channel connects to.Creates a new class loading NetSharedChannelOutput via the CNS using the given name
channelName
- String Name of the channel to declare with the CNS.Creates a new class loading NetSharedChannelOutput based on a given location
channelLocation
- NetChannelLocation The location of the input channel this channel connects to.Creates a class loading channel by wrapping an existing networked channel.
aChannel
- NetChannelOutputCreates a class loading channel by wrapping an existing networked channel.
aChannel
- NetSharedChannelInputCreates a class loading channel by wrapping an existing networked channel.
aChannel
- NetAltingChannelInputCreates a class loading channel by wrapping an existing networked channel.
aChannel
- NetChannelInputCreates a new instance of a Mobile channel. This channel has both ends relevant to the creating Node. To move the a channel end, simply write it to another Node. This channel is still experimental, so there may be some strange behaviour.
Creates a new class loading NetSharedChannelInput
Creates a new class loading NetSharedChannelInput, stating whether the channel is class loading or not.
loading
- boolean Whether the channel should be loading or not.Creates a new class loading NetSharedChannelInput, using the given string to declare it with the CNS.
channelName
- String Name to declare with CNSCreates a new class loading NetSharedChanelInput, using the given string to declare it with the CNS, and stating whether the channel is class loading or not.
channelName
- String Name to declare with CNSloading
- boolean Whether the channel class loads or not.Creates a new class loading NetAltingChannelInput
Creates a new class loading NetAltingChannelInput, stating whether it is class loading or not.
loading
- boolean Whether the channel is class loading or not.Creates a new class loading NetAltingChannelInput, using the string to declare it with the CNS.
channelName
- String Name to declare with the CNS.Creates a new class loading NetAltingChannelInput, using the string to declare it with the CNS, and stating whether the channel is class loading or not.
channelName
- String Name to declare with the CNS.loading
- boolean Whether the channel is class loading or not.Creates a class non-loading channel by wrapping an existing networked channel.
aChannel
- NetSharedChannelInputCreates a class non-loading channel by wrapping an existing networked channel.
aChannel
- NetAltingChannelInputCreates a class non-loading channel by wrapping an existing networked channel.
aChannel
- NetChannelInputCreates a new class loading NetChannelOutput based on a given location
channelLocation
- NetChannelLocation The location of the input channel this channel connects to.Creates a new class loading NetChannelOutput via the CNS using the given name
channelName
- String Name of the channel to declare with the CNS.Used to intialise the class loading features of the mobile package. This MUST be called prior to creating a class loading channel, otherwise the system will fail. In the future this will hopefully be rectified by use of a static constructor.
thisNode
- NodeKey The NodeKey of the current Node.