Exemple #1
0
 private void sendUserInfoMessage(string msg)
 {
     endpointManager.getViewContext(providerId, ViewContextKind.Static).sendMessage(chat.chatclient.chatviews.UserInfo.getInstance(), msg);
 }
        public static ServiceResult getInstance(EndpointManager manager, int pvid, int instanceindex)
        {
            ViewContext vc = manager.getViewContext(pvid, ViewContextKind.Static);

            return(vc == null ? null : (ServiceResult)vc.findTemporaryView((short)1, instanceindex));
        }
Exemple #3
0
        public static ViewS getInstance(EndpointManager manager, int pvid)
        {
            ViewContext vc = manager.getViewContext(pvid, ViewContextKind.Static);

            return(vc == null ? null : (ViewS)vc.getSessionOrGlobalView((short)0));
        }