示例#1
0
 public ContextCallbackManager(Steam.SteamListener steamListener, Wrapped.Server server, Ice.ObjectAdapter adapter, Action <Task> asyncCompleter)
     : base(asyncCompleter)
 {
     SteamListener = steamListener;
     Server        = server;
     IcePrx        = Murmur.ServerContextCallbackPrxHelper.uncheckedCast(adapter.addWithUUID(this));
 }
示例#2
0
 public override void removeContextCallback_async(Murmur.AMD_Server_removeContextCallback cb__, Murmur.ServerContextCallbackPrx cb, Ice.Current current__)
 {
     cb__.ice_response();
 }
示例#3
0
 public override void addContextCallback_async(Murmur.AMD_Server_addContextCallback cb__, int session, string action, string text, Murmur.ServerContextCallbackPrx cb, int ctx, Ice.Current current__)
 {
     cb__.ice_response();
 }
示例#4
0
 public Task RemoveContextCallback(Murmur.ServerContextCallbackPrx cb)
 {
     return(FixIce.FromAsyncVoid(cb, S.begin_removeContextCallback, S.end_removeContextCallback));
 }
示例#5
0
 public Task AddContextCallback(int session, string action, string text, Murmur.ServerContextCallbackPrx cb, CallbackContext ctx)
 {
     return(FixIce.FromAsyncVoid(session, action, text, cb, (int)ctx, S.begin_addContextCallback, S.end_addContextCallback));
 }