Public Attributes

ServerList Struct Reference

Search for all occurrences

Detailed Description

See also:
Class MaxNetManager, Structure HSERVER, Structure ServerInfo
Remarks:
This structure is available in release 4.0 and later only.

This structure is used by the Network Rendering API to store global server state information.

If hJob is a valid handle (i.e. non 0) and frame holds a NO_FRAME, this means this server has just be assigned a job or it is in between frames (no frames assigned). Most likely it is loading 3ds Max. The transition in between frames is in the nanosecond level, but seeing as it is possible, it cannot be discarded.

#include <ServerList.h>

Inheritance diagram for ServerList:
Inheritance graph
[legend]

List of all members.

Public Attributes

HSERVER  hServer
  The handle to the server.
WORD  state
  The current state of the server which is one of the following values:
  • SERVER_STATE_ABSENT
    The server is absent.

ServerInfo  info
  The server information structure containing the server details.
HJOB  hJob
  The handle to the job that the server is currently working on, if there is one.
int  frame
  The frame the server is currently rendering, if there is one.
SYSTEMTIME  frame_started
  The time the server had the frame assigned.

Member Data Documentation

The handle to the server.

WORD state

The current state of the server which is one of the following values:

  • SERVER_STATE_ABSENT
    The server is absent.
  • SERVER_STATE_IDLE
    The server is idle.
  • SERVER_STATE_BUSY
    The server is busy.
  • SERVER_STATE_ERROR
    The server is experiencing an error.
  • SERVER_STATE_SUSPENDED
    The server has been suspended.

The server information structure containing the server details.

HJOB hJob

The handle to the job that the server is currently working on, if there is one.

int frame

The frame the server is currently rendering, if there is one.

SYSTEMTIME frame_started

The time the server had the frame assigned.