|
|||||||||
| 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.LocalNozzleConfig
public class LocalNozzleConfig
This class provides configuration on the creation of a new channel through a ChannelInlet. This configuration
dictates the creation of a channel that will be accessible only locally within the context of the VM's address space.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface gr.uoa.di.madgik.commons.channel.nozzle.INozzleConfig |
|---|
INozzleConfig.ConfigType |
| Constructor Summary | |
|---|---|
LocalNozzleConfig()
|
|
LocalNozzleConfig(boolean Broadcast,
int RestrictBroadcast)
Instantiates a new local nozzle configuration |
|
| Method Summary | |
|---|---|
void |
Dispose()
Disposes the configuration and all underlying state |
void |
FromXML(org.w3c.dom.Node XML)
|
void |
FromXML(java.lang.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). |
java.lang.String |
ToXML()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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)| Method Detail |
|---|
public IChannelProxy GetChannelProxy()
INozzleConfig
GetChannelProxy in interface INozzleConfigpublic void SetProxy(IChannelProxy ChannelProxy)
INozzleConfig
SetProxy in interface INozzleConfigChannelProxy - the channel proxypublic boolean GetIsBroadcast()
INozzleConfigChannelOutlet instances
GetIsBroadcast in interface INozzleConfigChannelOutlet instances can be connectedpublic void SetIsBroadcast(boolean Broadcast)
INozzleConfigChannelOutlet instances
SetIsBroadcast 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()
INozzleConfig
Dispose in interface INozzleConfigpublic INozzleConfig.ConfigType GetConfigType()
GetConfigType in interface INozzleConfig
public void FromXML(java.lang.String XML)
throws java.lang.Exception
FromXML in interface INozzleConfigjava.lang.Exception
public void FromXML(org.w3c.dom.Node XML)
throws java.lang.Exception
FromXML in interface INozzleConfigjava.lang.Exception
public java.lang.String ToXML()
throws java.lang.Exception
ToXML in interface INozzleConfigjava.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||