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

%IO.IParts.ServerSocketIO


abstract class %IO.IParts.ServerSocketIO

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 4


Summary


Properties
AllowedClientIPAddresses ConnectionQueueSize IsConnected

Methods
DefaultFlushOnWriteGet Listen ListenJob Open

Subclasses
%IO.I.ServerSocket %IO.ServerSocket

Properties


• 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. 192.168.1.22, 192.168.1.22:3298 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

Methods


• method DefaultFlushOnWriteGet()
DefaultFlushOnWrite
• 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