1 21 package com.db4o.cs.messages; 22 23 import com.db4o.cs.*; 24 import com.db4o.inside.query.*; 25 26 27 30 public class MObjectSetGetId extends MObjectSet { 31 32 public boolean processAtServer(YapServerThread serverThread) { 33 AbstractQueryResult queryResult = queryResult(serverThread, readInt()); 34 int id = queryResult.getId(readInt()); 35 serverThread.write(Msg.OBJECTSET_GET_ID.getWriterForInt(transaction(), id)); 36 return true; 37 } 38 39 } 40 | Popular Tags |