|
|||||||||
| 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.tcp.TCPServerNozzleConfig
public class TCPServerNozzleConfig
This class provides configuration on the creation of a new channel through a ChannelInlet. This configuration
dictates the creation of a channel that can be accessed either locally or remotely through a TCP connection
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface gr.uoa.di.madgik.commons.channel.nozzle.INozzleConfig |
|---|
INozzleConfig.ConfigType |
| Constructor Summary | |
|---|---|
TCPServerNozzleConfig()
|
|
TCPServerNozzleConfig(boolean Broadcast,
int RestrictBroadcast)
Instantiates a new TCP 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 TCPServerNozzleConfig()
public TCPServerNozzleConfig(boolean Broadcast,
int RestrictBroadcast)
Config - the configuration of the TCPTransportServerBroadcast - 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 | ||||||||