@Override
  protected void responding(ExtendedDataOutputStream out) throws Exception {
    CDOAdminServerProtocol protocol = (CDOAdminServerProtocol) getProtocol();
    CDOAdminServer admin = protocol.getInfraStructure();

    CDOAdminServerRepository repository = (CDOAdminServerRepository) admin.getRepository(name);
    if (repository != null) {
      if (admin.deleteRepository(repository, type)) {
        out.writeBoolean(true);
        return;
      }
    }

    out.writeBoolean(false);
  }
  @Override
  protected final void responding(ExtendedDataOutputStream out) throws Exception {
    LOGGER.info("responding(), receiver: " + this.remoteAdapterUUID);

    /*
     * Send this adapter UUID
     */
    out.writeObject(this.synchronizerAdapter.getAdapterUUID());

    this.doResponding(out);
  }
 @Override
 protected void responding(ExtendedDataOutputStream out) throws Exception {
   out.writeString(message);
 }
 @Override
 protected void requesting(ExtendedDataOutputStream out) throws Exception {
   out.writeByte(type);
   out.writeString(name);
 }
Example #5
0
 @Override
 protected void requesting(ExtendedDataOutputStream out) throws Exception {
   out.writeByteArray(data);
 }
 @Override
 protected void requesting(ExtendedDataOutputStream out) throws Exception {
   out.writeInt(sessionID);
   out.writeLong(consumerID);
   MessageUtil.write(out, message);
 }
 @Override
 protected void requesting(ExtendedDataOutputStream out) throws Exception {
   out.writeInt(sessionID);
 }