Examples of writeBoolean()


Examples of com.hazelcast.nio.ObjectDataOutput.writeBoolean()

    @Override
    public void write(PortableWriter writer) throws IOException {
        super.write(writer);
        ObjectDataOutput out = writer.getRawDataOutput();
        options.writeData(out);
        out.writeBoolean(sXid != null);
        if (sXid != null) {
            sXid.writeData(out);
        }
    }
View Full Code Here

Examples of com.higherfrequencytrading.chronicle.Excerpt.writeBoolean()

        IndexedChronicle tsc = new IndexedChronicle(testPath, 12);
        tsc.useUnsafe(false);

        Excerpt excerpt = tsc.createExcerpt();
        excerpt.startExcerpt(2);
        excerpt.writeBoolean(false);
        excerpt.writeBoolean(true);
        excerpt.finish();

        excerpt.index(0);
        boolean one = excerpt.readBoolean();
View Full Code Here

Examples of com.higherfrequencytrading.chronicle.Excerpt.writeBoolean()

        tsc.useUnsafe(false);

        Excerpt excerpt = tsc.createExcerpt();
        excerpt.startExcerpt(2);
        excerpt.writeBoolean(false);
        excerpt.writeBoolean(true);
        excerpt.finish();

        excerpt.index(0);
        boolean one = excerpt.readBoolean();
        boolean onetwo = excerpt.readBoolean();
View Full Code Here

Examples of com.maverick.util.ByteArrayWriter.writeBoolean()

            } else if (value instanceof Long) {
                writer.writeUINT64(((Long) value).longValue());
            } else if (value instanceof Short) {
                writer.writeShort(((Short) value).shortValue());
            } else if (value instanceof Boolean) {
                writer.writeBoolean(((Boolean) value).booleanValue());
            } else if (value instanceof Date) {
                writer.writeUINT64(((Date) value).getTime());
            } else {
                writer.writeString(value.toString());
            }
View Full Code Here

Examples of com.maverick.util.ByteArrayWriter.writeBoolean()

     *
     * @see com.maverick.multiplex.Channel#create()
     */
    public byte[] create() throws IOException {
        ByteArrayWriter baw = new ByteArrayWriter();
        baw.writeBoolean(initiator);
        baw.writeString(id);
        return baw.toByteArray();
    }

    /*
 
View Full Code Here

Examples of com.maverick.util.ByteArrayWriter.writeBoolean()

        msg.writeString(tunnel.getTransport());
        msg.writeString(tunnel.getSourceInterface());
        msg.writeInt(tunnel.getSourcePort());
        msg.writeInt(tunnel.getDestination().getPort());
        msg.writeString(tunnel.getDestination().getHost());
        msg.writeBoolean(false);
        return msg.toByteArray();
    }

    public void onChannelClose() {
        if (input != null)
View Full Code Here

Examples of com.maverick.util.ByteArrayWriter.writeBoolean()

    ByteArrayWriter msg = new ByteArrayWriter();
   
    // If this is a service side application launcher then launch now and inform the agent not to go any further
    ExtensionDescriptor descriptor = ExtensionStore.getInstance().getExtensionDescriptor(shortcut.getApplication());
    if(((ApplicationLauncherType)descriptor.getExtensionType()).isServerSide()) {
      msg.writeBoolean(true);


      // Do the launch
      try {
        if(descriptor.getApplicationBundle().getStatus() != ExtensionBundleStatus.ACTIVATED) {
View Full Code Here

Examples of com.maverick.util.ByteArrayWriter.writeBoolean()

        throw ex;

      }
    }
    else {   
      msg.writeBoolean(false);
      msg.writeString(shortcut.getApplication());
      msg.writeInt(shortcut.getResourceId());
      msg.writeString(launchSession.getId());
      msg.writeString(ExtensionParser.processApplicationParameters(launchSession,
        new Properties(),
View Full Code Here

Examples of com.orientechnologies.orient.enterprise.channel.binary.OChannelBinaryAsynchClient.writeBoolean()

        lastNetworkUsed = network;

        try {
          network.writeRID(iRid);
          if (network.getSrvProtocolVersion() >= 23) {
            network.writeBoolean(updateContent);
          }
          network.writeBytes(iContent);
          network.writeVersion(iVersion);
          network.writeByte(iRecordType);
          network.writeByte((byte) iMode);
View Full Code Here

Examples of com.sshtools.j2ssh.io.ByteArrayWriter.writeBoolean()

        throws IOException {
        log.debug("Requesting X11 forwarding for display " + display +
            " using cookie " + cookie);

        ByteArrayWriter baw = new ByteArrayWriter();
        baw.writeBoolean(false);
        baw.writeString("MIT-MAGIC-COOKIE-1");
        baw.writeString(cookie);
        baw.writeUINT32(new UnsignedInteger32(String.valueOf(display)));

        return connection.sendChannelRequest(this, "x11-req", true,
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.