Home > Class Reference > %SYS namespace > %Harmony.Bridge
Private  Storage   

%Harmony.Bridge


class %Harmony.Bridge

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 9


Summary


Methods
connect disconnect encodeMessage getOutboundSemaphore
inbound logException logMessage outbound
queueInboundMessage


Parameters


• parameter OUTBOUNDSEMAPHORE = "harmonyoutbound";
• parameter TCPTIMEOUT = 12;

Methods


• classmethod connect(config As %Library.DynamicObject = { { "namespace" As "USER", "host" As "127.0.0.1", "inbound-port" As 55556, "outbound-port" As 55557, "inbound-addresses" As ["harmony.bridge.inbound"], "outbound-addresses" As ["harmony.bridge.outbound"], "ping-interval" As 10 } })
• classmethod disconnect()
• classmethod encodeMessage(message As %Library.DynamicAbstractObject) as %Library.String
• classmethod getOutboundSemaphore() as %SYSTEM.Semaphore
• classmethod inbound(configArg As %Library.String(MAXLEN=""))
• classmethod logException(location As %String(MAXLEN=""), exception As %Exception.AbstractException)
• classmethod logMessage(location As %String(MAXLEN=""), message As %String(MAXLEN=3000))
• classmethod outbound(configArg As %Library.String(MAXLEN=""))
• classmethod queueInboundMessage(message As %Library.String(MAXLEN=""))