C# 클래스 Examples.ExamplesConsole.AdvancedSend

Advanced send demonstrates how to send and receive more complicated objects. Note that arrays of primitive types are serialised differently from arrays of non-primitives. This is done to achieve better performance and lower memory usage
파일 보기 프로젝트 열기: MarcFletcher/NetworkComms.Net 1 사용 예제들

공개 메소드들

메소드 설명
RunExample ( ) : void

Run the AdvancedSend example.

비공개 메소드들

메소드 설명
CreateArray ( ) : Array

Set object to send as array of primitives

CreateCustomObject ( ) : object

Set object to send as custom object

CreateSendObject ( ) : void

Base method for creating an object to send

LogMethod ( string strToLog ) : void

Delegate which can be used to log comms method

SelectConnectionType ( ) : void
SelectDataProcessors ( List &dataProcessors, string>.Dictionary &dataProcessorOptions ) : void

Allows to choose different compressors

SelectDataSerializer ( DataSerializer &dataSerializer ) : void

Allows to choose different serializers

메소드 상세

RunExample() 공개 정적인 메소드

Run the AdvancedSend example.
public static RunExample ( ) : void
리턴 void