ServerMessageConfiguration

Overview

Location

  • Reference: RemObjects.SDK.Server.dll
  • Namespace: RemObjects.SDK.Server
  • Platforms: .NET Core, .NET Framework, .NET Standard


 

constructor

Creates a new instance

 

constructor(messageType: ServerMessageType; maxMessageSize: Int32; jsonWrapResult: Boolean; bsonWrapResult: Boolean; soapMode: SoapMode; xmlrpcWrapResult: Boolean)

 

ServerMessageConfiguration(ServerMessageType messageType, Int32 maxMessageSize, Boolean jsonWrapResult, Boolean bsonWrapResult, SoapMode soapMode, Boolean xmlrpcWrapResult)

 

init(_ messageType: ServerMessageType, _ maxMessageSize: Int32, _ jsonWrapResult: Boolean, _ bsonWrapResult: Boolean, _ soapMode: SoapMode, _ xmlrpcWrapResult: Boolean)

 

Sub New(messageType As ServerMessageType, maxMessageSize As Int32, jsonWrapResult As Boolean, bsonWrapResult As Boolean, soapMode As SoapMode, xmlrpcWrapResult As Boolean)

Parameters:

  • messageType:
  • maxMessageSize:
  • jsonWrapResult:
  • bsonWrapResult:
  • soapMode:
  • xmlrpcWrapResult:

BsonWrapResult

If set to true, this property instructs the object to wrap the remote method execution results into a result object before passing them back as required by the BSON specification.

Required for var or out parameters.

Note: Client- and server-side should use the same value.

 

property BsonWrapResult: Boolean read write;

 

Boolean BsonWrapResult { get; set; }

 

var BsonWrapResult: Boolean { get{} set{} }

 

Property BsonWrapResult() As Boolean

JsonWrapResult

Gets or sets a flag indicating whether the JSON root object of the current message should be wrapped into a result JSON entry.

This property should be set to true if it is intended to allow Remoting SDK for JavaScript-based clients to communicate with the server.

Required for var or out parameters.

Note: Client- and server-side should use the same value.

 

property JsonWrapResult: Boolean read write;

 

Boolean JsonWrapResult { get; set; }

 

var JsonWrapResult: Boolean { get{} set{} }

 

Property JsonWrapResult() As Boolean

MaxMessageSize

Gets or sets the maximum message size to be received.

 

property MaxMessageSize: Int32 read write;

 

Int32 MaxMessageSize { get; set; }

 

var MaxMessageSize: Int32 { get{} set{} }

 

Property MaxMessageSize() As Int32

MessageType

 

property MessageType: ServerMessageType read write;

 

ServerMessageType MessageType { get; set; }

 

var MessageType: ServerMessageType { get{} set{} }

 

Property MessageType() As ServerMessageType

SoapMode

 

property SoapMode: SoapMode read write;

 

SoapMode SoapMode { get; set; }

 

var SoapMode: SoapMode { get{} set{} }

 

Property SoapMode() As SoapMode

XmlRpcWrapResult

If set to true, this property instructs the object to wrap the remote method execution results into a result object before passing them back as required by the XML-RPC specification.

Required for var or out parameters.

Note: Client- and server-side should use the same value.

 

property XmlRpcWrapResult: Boolean read write;

 

Boolean XmlRpcWrapResult { get; set; }

 

var XmlRpcWrapResult: Boolean { get{} set{} }

 

Property XmlRpcWrapResult() As Boolean

 

BsonWrapResult

If set to true, this property instructs the object to wrap the remote method execution results into a result object before passing them back as required by the BSON specification.

Required for var or out parameters.

Note: Client- and server-side should use the same value.

 

property BsonWrapResult: Boolean read write;

 

Boolean BsonWrapResult { get; set; }

 

var BsonWrapResult: Boolean { get{} set{} }

 

Property BsonWrapResult() As Boolean

JsonWrapResult

Gets or sets a flag indicating whether the JSON root object of the current message should be wrapped into a result JSON entry.

This property should be set to true if it is intended to allow Remoting SDK for JavaScript-based clients to communicate with the server.

Required for var or out parameters.

Note: Client- and server-side should use the same value.

 

property JsonWrapResult: Boolean read write;

 

Boolean JsonWrapResult { get; set; }

 

var JsonWrapResult: Boolean { get{} set{} }

 

Property JsonWrapResult() As Boolean

MaxMessageSize

Gets or sets the maximum message size to be received.

 

property MaxMessageSize: Int32 read write;

 

Int32 MaxMessageSize { get; set; }

 

var MaxMessageSize: Int32 { get{} set{} }

 

Property MaxMessageSize() As Int32

MessageType

 

property MessageType: ServerMessageType read write;

 

ServerMessageType MessageType { get; set; }

 

var MessageType: ServerMessageType { get{} set{} }

 

Property MessageType() As ServerMessageType

SoapMode

 

property SoapMode: SoapMode read write;

 

SoapMode SoapMode { get; set; }

 

var SoapMode: SoapMode { get{} set{} }

 

Property SoapMode() As SoapMode

XmlRpcWrapResult

If set to true, this property instructs the object to wrap the remote method execution results into a result object before passing them back as required by the XML-RPC specification.

Required for var or out parameters.

Note: Client- and server-side should use the same value.

 

property XmlRpcWrapResult: Boolean read write;

 

Boolean XmlRpcWrapResult { get; set; }

 

var XmlRpcWrapResult: Boolean { get{} set{} }

 

Property XmlRpcWrapResult() As Boolean

 

constructor

Creates a new instance

 

constructor(messageType: ServerMessageType; maxMessageSize: Int32; jsonWrapResult: Boolean; bsonWrapResult: Boolean; soapMode: SoapMode; xmlrpcWrapResult: Boolean)

 

ServerMessageConfiguration(ServerMessageType messageType, Int32 maxMessageSize, Boolean jsonWrapResult, Boolean bsonWrapResult, SoapMode soapMode, Boolean xmlrpcWrapResult)

 

init(_ messageType: ServerMessageType, _ maxMessageSize: Int32, _ jsonWrapResult: Boolean, _ bsonWrapResult: Boolean, _ soapMode: SoapMode, _ xmlrpcWrapResult: Boolean)

 

Sub New(messageType As ServerMessageType, maxMessageSize As Int32, jsonWrapResult As Boolean, bsonWrapResult As Boolean, soapMode As SoapMode, xmlrpcWrapResult As Boolean)

Parameters:

  • messageType:
  • maxMessageSize:
  • jsonWrapResult:
  • bsonWrapResult:
  • soapMode:
  • xmlrpcWrapResult: