public IPEndpointI(ProtocolInstance instance, Ice.InputStream s) { instance_ = instance; host_ = s.readString(); port_ = s.readInt(); sourceAddr_ = null; connectionId_ = ""; _hashInitialized = false; }
internal WSEndpoint(ProtocolInstance instance, EndpointI del, Ice.InputStream s) { _instance = instance; _delegate = (IPEndpointI)del; _resource = s.readString(); }
protected virtual void readImpl__(Ice.InputStream inS__) { inS__.startSlice(); id__prop = inS__.readString(); inS__.readObject(new Patcher__(minie.irpc.cm_node_rpc.ice_staticId(), this, 0)); inS__.readObject(new Patcher__(minie.irpc.cm_user_rpc.ice_staticId(), this, 1)); host_flag__prop = inS__.readInt(); inS__.readObject(new Patcher__(minie.irpc.sys_user_rpc.ice_staticId(), this, 2)); creation_time__prop = inS__.readString(); inS__.endSlice(); }
protected virtual void readImpl__(Ice.InputStream inS__) { inS__.startSlice(); id__prop = inS__.readString(); name__prop = inS__.readString(); desc__prop = inS__.readString(); address__prop = inS__.readString(); inS__.readObject(new Patcher__(minie.irpc.cm_node_category_rpc.ice_staticId(), this, 0)); inS__.readObject(new Patcher__(minie.irpc.cm_node_rpc.ice_staticId(), this, 1)); inS__.readObject(new Patcher__(minie.irpc.sys_user_rpc.ice_staticId(), this, 2)); creation_time__prop = inS__.readString(); children__prop = minie.irpc.cm_node_rpc_listHelper.read(inS__); groups__prop = minie.irpc.sys_group_rpc_listHelper.read(inS__); entrances__prop = minie.irpc.cm_entrance_rpc_listHelper.read(inS__); node_users__prop = minie.irpc.cm_node_user_rpc_listHelper.read(inS__); inS__.endSlice(); }
protected virtual void readImpl__(Ice.InputStream inS__) { inS__.startSlice(); id__prop = inS__.readInt(); name__prop = inS__.readString(); desc__prop = inS__.readString(); inS__.endSlice(); }
protected virtual void readImpl__(Ice.InputStream inS__) { inS__.startSlice(); id__prop = inS__.readString(); inS__.readObject(new Patcher__(minie.irpc.cm_user_friend_rpc.ice_staticId(), this, 0)); inS__.readObject(new Patcher__(minie.irpc.cm_node_rpc.ice_staticId(), this, 1)); valid_from_time__prop = inS__.readString(); valid_to_time__prop = inS__.readString(); creation_time__prop = inS__.readString(); inS__.endSlice(); }
public Reference create(Ice.Identity ident, Ice.InputStream s) { // // Don't read the identity here. Operations calling this // constructor read the identity, and pass it as a parameter. // if(ident.name.Length == 0 && ident.category.Length == 0) { return null; } // // For compatibility with the old FacetPath. // string[] facetPath = s.readStringSeq(); string facet; if(facetPath.Length > 0) { if(facetPath.Length > 1) { throw new Ice.ProxyUnmarshalException(); } facet = facetPath[0]; } else { facet = ""; } int mode = (int)s.readByte(); if(mode < 0 || mode > (int)Reference.Mode.ModeLast) { throw new Ice.ProxyUnmarshalException(); } bool secure = s.readBool(); Ice.ProtocolVersion protocol; Ice.EncodingVersion encoding; if(!s.getEncoding().Equals(Ice.Util.Encoding_1_0)) { protocol = new Ice.ProtocolVersion(); protocol.read__(s); encoding = new Ice.EncodingVersion(); encoding.read__(s); } else { protocol = Ice.Util.Protocol_1_0; encoding = Ice.Util.Encoding_1_0; } EndpointI[] endpoints = null; string adapterId = ""; int sz = s.readSize(); if(sz > 0) { endpoints = new EndpointI[sz]; for(int i = 0; i < sz; i++) { endpoints[i] = instance_.endpointFactoryManager().read(s); } } else { adapterId = s.readString(); } return create(ident, facet, (Reference.Mode)mode, secure, protocol, encoding, endpoints, adapterId, null); }
private static void printReply(System.IO.StringWriter s, Ice.InputStream str) { int requestId = str.readInt(); s.Write("\nrequest id = " + requestId); byte replyStatus = str.readByte(); s.Write("\nreply status = " + (int)replyStatus + ' '); switch(replyStatus) { case ReplyStatus.replyOK: { s.Write("(ok)"); break; } case ReplyStatus.replyUserException: { s.Write("(user exception)"); break; } case ReplyStatus.replyObjectNotExist: case ReplyStatus.replyFacetNotExist: case ReplyStatus.replyOperationNotExist: { switch(replyStatus) { case ReplyStatus.replyObjectNotExist: { s.Write("(object not exist)"); break; } case ReplyStatus.replyFacetNotExist: { s.Write("(facet not exist)"); break; } case ReplyStatus.replyOperationNotExist: { s.Write("(operation not exist)"); break; } default: { Debug.Assert(false); break; } } printIdentityFacetOperation(s, str); break; } case ReplyStatus.replyUnknownException: case ReplyStatus.replyUnknownLocalException: case ReplyStatus.replyUnknownUserException: { switch(replyStatus) { case ReplyStatus.replyUnknownException: { s.Write("(unknown exception)"); break; } case ReplyStatus.replyUnknownLocalException: { s.Write("(unknown local exception)"); break; } case ReplyStatus.replyUnknownUserException: { s.Write("(unknown user exception)"); break; } default: { Debug.Assert(false); break; } } string unknown = str.readString(); s.Write("\nunknown = " + unknown); break; } default: { s.Write("(unknown)"); break; } } if(replyStatus == ReplyStatus.replyOK || replyStatus == ReplyStatus.replyUserException) { Ice.EncodingVersion v = str.skipEncapsulation(); if(!v.Equals(Ice.Util.Encoding_1_0)) { s.Write("\nencoding = "); s.Write(Ice.Util.encodingVersionToString(v)); } } }
protected virtual void readImpl__(Ice.InputStream inS__) { inS__.startSlice(); id__prop = inS__.readString(); inS__.readObject(new Patcher__(minie.irpc.cm_user_rpc.ice_staticId(), this, 0)); inS__.readObject(new Patcher__(minie.irpc.cm_user_rpc.ice_staticId(), this, 1)); request_time__prop = inS__.readString(); inS__.endSlice(); }
protected virtual void readImpl__(Ice.InputStream inS__) { inS__.startSlice(); id__prop = inS__.readString(); username__prop = inS__.readString(); nickname__prop = inS__.readString(); cellphone__prop = inS__.readString(); password__prop = inS__.readString(); fullname__prop = inS__.readString(); id_card__prop = inS__.readString(); telephone__prop = inS__.readString(); email__prop = inS__.readString(); user_nodes__prop = minie.irpc.cm_node_user_rpc_listHelper.read(inS__); user_friends__prop = minie.irpc.cm_user_friend_rpc_listHelper.read(inS__); inS__.endSlice(); }
protected virtual void readImpl__(Ice.InputStream inS__) { inS__.startSlice(); id__prop = inS__.readString(); mode__prop = inS__.readLong(); inS__.readObject(new Patcher__(minie.irpc.sys_role_rpc.ice_staticId(), this, 0)); inS__.readObject(new Patcher__(minie.irpc.sys_permission_rpc.ice_staticId(), this, 1)); creation_time__prop = inS__.readString(); valid_thru_time__prop = inS__.readString(); inS__.endSlice(); }
protected override void readImpl__(Ice.InputStream inS__) { inS__.startSlice(); errorCode = inS__.readInt(); errorMessage = inS__.readString(); inS__.endSlice(); }
protected virtual void readImpl__(Ice.InputStream inS__) { inS__.startSlice(); name__prop = inS__.readString(); desc__prop = inS__.readString(); role_permissions__prop = minie.irpc.sys_role_permission_rpc_listHelper.read(inS__); role_groups__prop = minie.irpc.sys_group_rpc_listHelper.read(inS__); role_users__prop = minie.irpc.sys_user_rpc_listHelper.read(inS__); inS__.endSlice(); }
protected virtual void readImpl__(Ice.InputStream inS__) { inS__.startSlice(); id__prop = inS__.readString(); name__prop = inS__.readString(); desc__prop = inS__.readString(); is_system__prop = inS__.readBool(); inS__.readObject(new Patcher__(minie.irpc.cm_node_rpc.ice_staticId(), this, 0)); inS__.readObject(new Patcher__(minie.irpc.sys_user_rpc.ice_staticId(), this, 1)); creation_time__prop = inS__.readString(); group_users__prop = minie.irpc.sys_user_rpc_listHelper.read(inS__); group_roles__prop = minie.irpc.sys_role_rpc_listHelper.read(inS__); inS__.endSlice(); }
protected virtual void readImpl__(Ice.InputStream inS__) { inS__.startSlice(); id__prop = inS__.readString(); username__prop = inS__.readString(); cellphone__prop = inS__.readString(); password__prop = inS__.readString(); fullname__prop = inS__.readString(); code__prop = inS__.readString(); email__prop = inS__.readString(); level__prop = inS__.readInt(); inS__.readObject(new Patcher__(minie.irpc.sys_user_rpc.ice_staticId(), this)); creation_time__prop = inS__.readString(); user_groups__prop = minie.irpc.sys_group_rpc_listHelper.read(inS__); user_roles__prop = minie.irpc.sys_role_rpc_listHelper.read(inS__); inS__.endSlice(); }
protected override void readImpl__(Ice.InputStream inS__) { inS__.startSlice(); field_name = inS__.readString(); inS__.endSlice(); base.readImpl__(inS__); }
private static void printIdentityFacetOperation(System.IO.StringWriter s, Ice.InputStream str) { try { Ice.Identity identity = new Ice.Identity(); identity.read__(str); s.Write("\nidentity = " + str.instance().identityToString(identity)); string[] facet = str.readStringSeq(); s.Write("\nfacet = "); if(facet.Length > 0) { s.Write(IceUtilInternal.StringUtil.escapeString(facet[0], "")); } string operation = str.readString(); s.Write("\noperation = " + operation); } catch(System.IO.IOException) { Debug.Assert(false); } }
protected virtual void readImpl__(Ice.InputStream inS__) { inS__.startSlice(); id__prop = inS__.readString(); creation_time__prop = inS__.readString(); inS__.readObject(new Patcher__(minie.irpc.cm_user_rpc.ice_staticId(), this, 0)); inS__.readObject(new Patcher__(minie.irpc.cm_user_rpc.ice_staticId(), this, 1)); friend_privileges__prop = minie.irpc.cm_friend_privilege_rpc_listHelper.read(inS__); inS__.endSlice(); }
private static void printRequestHeader(System.IO.StringWriter s, Ice.InputStream str) { printIdentityFacetOperation(s, str); try { byte mode = str.readByte(); s.Write("\nmode = " + (int)mode + ' '); switch((Ice.OperationMode)mode) { case Ice.OperationMode.Normal: { s.Write("(normal)"); break; } case Ice.OperationMode.Nonmutating: { s.Write("(nonmutating)"); break; } case Ice.OperationMode.Idempotent: { s.Write("(idempotent)"); break; } default: { s.Write("(unknown)"); break; } } int sz = str.readSize(); s.Write("\ncontext = "); while(sz-- > 0) { string key = str.readString(); string val = str.readString(); s.Write(key + '/' + val); if(sz > 0) { s.Write(", "); } } Ice.EncodingVersion v = str.skipEncapsulation(); if(!v.Equals(Ice.Util.Encoding_1_0)) { s.Write("\nencoding = "); s.Write(Ice.Util.encodingVersionToString(v)); } } catch(System.IO.IOException) { Debug.Assert(false); } }
protected virtual void readImpl__(Ice.InputStream inS__) { inS__.startSlice(); user_id = inS__.readString(); token = inS__.readString(); ext = inS__.readString(); inS__.endSlice(); }