public class LocalNozzleConfig extends Object implements INozzleConfig
ChannelInlet. This configuration
dictates the creation of a channel that will be accessible only locally within the context of the VM's address space.INozzleConfig.ConfigType| Constructor and Description |
|---|
LocalNozzleConfig() |
LocalNozzleConfig(boolean Broadcast,
int RestrictBroadcast)
Instantiates a new local nozzle configuration
|
| Modifier and Type | Method and Description |
|---|---|
void |
Dispose()
Disposes the configuration and all underlying state
|
void |
FromXML(Node XML) |
void |
FromXML(String XML) |
IChannelProxy |
GetChannelProxy()
Gets the channel proxy.
|
INozzleConfig.ConfigType |
GetConfigType() |
boolean |
GetIsBroadcast()
Retrieves whether the channel supports multiple connected
ChannelOutlet instances |
int |
GetRestrictBroadcast()
Retrieves the maximum number of connected to the channel
ChannelOutlet instances if the
channel supports multiple instances as set by the INozzleConfig.SetIsBroadcast(boolean). |
void |
SetIsBroadcast(boolean Broadcast)
Sets whether the channel supports multiple connected
ChannelOutlet instances |
void |
SetProxy(IChannelProxy ChannelProxy)
Sets the proxy.
|
void |
SetRestrictBroadcast(int RestrictBroadcast)
Sets the maximum number of connected to the channel
ChannelOutlet instances if the
channel supports multiple instances as set by the INozzleConfig.SetIsBroadcast(boolean). |
String |
ToXML() |
public LocalNozzleConfig()
public LocalNozzleConfig(boolean Broadcast,
int RestrictBroadcast)
Broadcast - the value to set as defined by the INozzleConfig.SetIsBroadcast(boolean)RestrictBroadcast - the value to set as defined by the INozzleConfig.SetRestrictBroadcast(int)public IChannelProxy GetChannelProxy()
INozzleConfigGetChannelProxy in interface INozzleConfigpublic void SetProxy(IChannelProxy ChannelProxy)
INozzleConfigSetProxy in interface INozzleConfigChannelProxy - the channel proxypublic boolean GetIsBroadcast()
INozzleConfigChannelOutlet instancesGetIsBroadcast in interface INozzleConfigChannelOutlet instances can be connectedpublic void SetIsBroadcast(boolean Broadcast)
INozzleConfigChannelOutlet instancesSetIsBroadcast in interface INozzleConfigBroadcast - whether the channel supports multiple connected ChannelOutlet instancespublic int GetRestrictBroadcast()
INozzleConfigChannelOutlet instances if the
channel supports multiple instances as set by the INozzleConfig.SetIsBroadcast(boolean).
In case a non positive number is provided, no restrictions are enforced.GetRestrictBroadcast in interface INozzleConfigChannelOutlet instances to allowpublic void SetRestrictBroadcast(int RestrictBroadcast)
INozzleConfigChannelOutlet instances if the
channel supports multiple instances as set by the INozzleConfig.SetIsBroadcast(boolean).
In case a non positive number is provided, no restrictions are enforced.SetRestrictBroadcast in interface INozzleConfigRestrictBroadcast - the number of simultaneously connected ChannelOutlet instances to allowpublic void Dispose()
INozzleConfigDispose in interface INozzleConfigpublic INozzleConfig.ConfigType GetConfigType()
GetConfigType in interface INozzleConfigpublic void FromXML(String XML) throws Exception
FromXML in interface INozzleConfigExceptionpublic void FromXML(Node XML) throws Exception
FromXML in interface INozzleConfigExceptionpublic String ToXML() throws Exception
ToXML in interface INozzleConfigExceptionCopyright © 2018. All Rights Reserved.