C# Class Sirikata.Runtime.HostedObject

显示文件 Open project: speedlimits/museum

Public Methods

Method Description
CallFunction ( byte message, FunctionReturnCallback callback ) : bool
CallFunctionWithTimeout ( byte message, FunctionReturnCallback callback, System t ) : bool
GetLocalTime ( ) : Sirikata.Runtime.Time
GetTime ( System.Guid spaceid ) : Sirikata.Runtime.Time
GetTimeFromByteArraySpace ( byte spaceid ) : Sirikata.Runtime.Time
GetTimeFromStringSpace ( string spaceid ) : Sirikata.Runtime.Time
SendMessage ( byte message ) : bool
TickPeriod ( System t ) : void

Private Methods

Method Description
GetUUID ( ) : System.Guid
TimeTicks ( Sirikata t ) : long
iCallFunction ( byte message, FunctionReturnCallback callback ) : bool
iCallFunctionWithTimeout ( byte message, FunctionReturnCallback callback, System t ) : bool
iGetLocalTime ( Sirikata retval ) : void
iGetTime ( System.Guid spaceid, Sirikata retval ) : void
iGetTimeByteArray ( byte spaceid, Sirikata retval ) : void
iGetTimeString ( string spaceid, Sirikata retval ) : void
iSendMessage ( byte message ) : bool
iTickPeriod ( System t ) : void

Method Details

CallFunction() public static method

public static CallFunction ( byte message, FunctionReturnCallback callback ) : bool
message byte
callback FunctionReturnCallback
return bool

CallFunctionWithTimeout() public static method

public static CallFunctionWithTimeout ( byte message, FunctionReturnCallback callback, System t ) : bool
message byte
callback FunctionReturnCallback
t System
return bool

GetLocalTime() public static method

public static GetLocalTime ( ) : Sirikata.Runtime.Time
return Sirikata.Runtime.Time

GetTime() public static method

public static GetTime ( System.Guid spaceid ) : Sirikata.Runtime.Time
spaceid System.Guid
return Sirikata.Runtime.Time

GetTimeFromByteArraySpace() public static method

public static GetTimeFromByteArraySpace ( byte spaceid ) : Sirikata.Runtime.Time
spaceid byte
return Sirikata.Runtime.Time

GetTimeFromStringSpace() public static method

public static GetTimeFromStringSpace ( string spaceid ) : Sirikata.Runtime.Time
spaceid string
return Sirikata.Runtime.Time

SendMessage() public static method

public static SendMessage ( byte message ) : bool
message byte
return bool

TickPeriod() public static method

public static TickPeriod ( System t ) : void
t System
return void