Sites

Menu

MultiThreadedSpatialOSConnectionHandler Class

Namespace: Improbable.Gdk.Core
GDK package: Core
Source

Inheritance

Improbable.Gdk.Core.IConnectionHandler


Constructors

MultiThreadedSpatialOSConnectionHandler Source
MultiThreadedSpatialOSConnectionHandler(Connection connection)

Parameters
  • Connection connection :


Methods

IsConnected Source
bool IsConnected()

Gets a value indicating whether the underlying connection is connected.

Returns:
True if the underlying connection is connected, false otherwise.
GetWorkerId Source
string GetWorkerId()

Gets the worker ID for this worker.

Returns:
The worker ID.
GetWorkerAttributes Source
List<string> GetWorkerAttributes()

Gets the worker attributes for this worker.

Returns:
The list of worker attributes.
GetMessagesReceived Source
void GetMessagesReceived(ref ViewDiff viewDiff)

Populates the ViewDiff object using the messages received since the last time this was called.

Parameters
GetMessagesToSendContainer Source
MessagesToSend GetMessagesToSendContainer()

Gets the current messages to send container.

Returns:
The messages to send container.
PushMessagesToSend Source
void PushMessagesToSend(MessagesToSend messages)

Adds a set of MessagesToSend to be sent.

Parameters

Notes:
  • The messages may not be sent immediately. This is up to the implementer.
Dispose Source
void Dispose()

Search results

Was this page helpful?

Thanks for letting us know!

Thanks for your feedback

Need more help? Ask on the forums