Home > Class Reference > ENSLIB namespace > %IO.IParts.ServerSocketIO
Private  Storage   


abstract class %IO.IParts.ServerSocketIO


Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 4


AllowedClientIPAddresses ConnectionQueueSize IsConnected

DefaultFlushOnWriteGet Listen ListenJob Open

%IO.I.ServerSocket %IO.ServerSocket


• property AllowedClientIPAddresses as %String(TRUNCATE=1);
A comma-separated list of remote IP addresses to accept connections from optional. Accepts IP addresses in dotted decimal form for IPV4 and colon-hex form for IPV6, with optional :port for IPV4 and |port for IPV6, e.g., or fe80::4c60:9595:7fb3:8139, fe80::4c60:9595:7fb3:8139|3298.
If :port or |port is specified, connections from other ports at the associated address will be refused.
• property ConnectionQueueSize as %Integer(MINVAL=0) [ InitialExpression = 1 ];
Number of connections that can queue up waiting for this server socket to attend to them.
• property IsConnected as %Boolean [ ReadOnly ];
Is there a connection open from a remote client


• method DefaultFlushOnWriteGet()
• abstract method Listen(ByRef pTimeout As %Numeric = -1, Output pSC As %Status) as %Boolean
• abstract method ListenJob(ByRef pTimeout As %Numeric = -1, pOnConnectedClass As %String, pJobArgs As %String, pSocketClass As %String = "%IO.ServerSocket", pMaxJobs As %Integer = -1, pForeground As %Boolean = 0, Output pSC As %Status) as %Integer
• abstract method Open(pPort As %String, ByRef pTimeout As %Numeric = -1, Output pSC As %Status) as %Boolean