org.jgroups.util.Util.readByteBuffer()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(3.3k)|赞(0)|评价(0)|浏览(239)

本文整理了Java中org.jgroups.util.Util.readByteBuffer()方法的一些代码示例,展示了Util.readByteBuffer()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Util.readByteBuffer()方法的具体详情如下:
包路径:org.jgroups.util.Util
类名称:Util
方法名:readByteBuffer

Util.readByteBuffer介绍

暂无

代码示例

代码示例来源:origin: wildfly/wildfly

@Override
  public void readFrom(DataInput input) throws Exception {
    this.sharedSecret = Util.readByteBuffer(input);
  }
}

代码示例来源:origin: wildfly/wildfly

public void readFrom(DataInput in) throws Exception {
  this.encryptedToken = Util.readByteBuffer(in);
  this.valueSet = true;
}

代码示例来源:origin: wildfly/wildfly

public void readFrom(DataInput in) throws Exception {
  type=in.readByte();
  version=Util.readByteBuffer(in);
}

代码示例来源:origin: wildfly/wildfly

public void readFrom(DataInput in) throws Exception {
  type=in.readByte();
  switch(type) {
    case CHALLENGE:
      payload=Util.readByteBuffer(in);
      break;
    case RESPONSE:
      hash=in.readLong();
      break;
  }
}

代码示例来源:origin: wildfly/wildfly

public void readFrom(DataInput in) throws Exception {
    attr_name=Bits.readString(in);
    attr_value=Util.readByteBuffer(in);
  }
}

代码示例来源:origin: wildfly/wildfly

public void readFrom(DataInput in) throws Exception {
    attr_name=Bits.readString(in);
    attr_value=Util.readByteBuffer(in);
  }
}

代码示例来源:origin: wildfly/wildfly

@Override
public void readFrom(DataInput in) throws Exception {
  type = Type.values()[in.readByte()];
  payload = Util.readByteBuffer(in);
}

代码示例来源:origin: org.jboss.eap/wildfly-clustering-jgroups-extension

@Override
  public void readFrom(DataInput input) throws Exception {
    this.sharedSecret = Util.readByteBuffer(input);
  }
}

代码示例来源:origin: org.jboss.eap/wildfly-client-all

public void readFrom(DataInput in) throws Exception {
  this.encryptedToken = Util.readByteBuffer(in);
  this.valueSet = true;
}

代码示例来源:origin: org.jboss.eap/wildfly-client-all

public void readFrom(DataInput in) throws Exception {
  type=in.readByte();
  version=Util.readByteBuffer(in);
}

代码示例来源:origin: org.jboss.eap/wildfly-client-all

public void readFrom(DataInput in) throws Exception {
  type=in.readByte();
  switch(type) {
    case CHALLENGE:
      payload=Util.readByteBuffer(in);
      break;
    case RESPONSE:
      hash=in.readLong();
      break;
  }
}

代码示例来源:origin: org.jgroups/com.springsource.org.jgroups

public void readFrom(DataInputStream in) throws IOException, IllegalAccessException, InstantiationException {
  if(log.isDebugEnabled()){
    log.debug("X509Token readFrom()");
  }
  this.encryptedToken = Util.readByteBuffer(in);
  this.valueSet = true;
}
/**

代码示例来源:origin: it.unimi.di.law/jai4j

@Override
public void readFrom( DataInput in ) throws Exception {
  super.readFrom( in );
  name = in.readUTF();
  weight = in.readInt();
  jmxServiceURLString = Util.readByteBuffer( in );
  objectNameString = Util.readByteBuffer( in );
}

代码示例来源:origin: it.unimi.di.law/jai4j

@Override
public void readExternal( ObjectInput in ) throws IOException, ClassNotFoundException {
  super.readExternal( in );
  try {
    name = in.readUTF();
    weight = in.readInt();
    jmxServiceURLString = Util.readByteBuffer( in );
    objectNameString = Util.readByteBuffer( in );
  }
  catch ( Exception e ) {
    throw new IOException( e );
  }
}

代码示例来源:origin: org.jboss.eap/wildfly-client-all

public void readFrom(DataInput in) throws Exception {
    attr_name=Bits.readString(in);
    attr_value=Util.readByteBuffer(in);
  }
}

代码示例来源:origin: org.jboss.eap/wildfly-client-all

@Override
public void readFrom(DataInput in) throws Exception {
  type = Type.values()[in.readByte()];
  payload = Util.readByteBuffer(in);
}

代码示例来源:origin: org.jboss.eap/wildfly-client-all

public void readFrom(DataInput in) throws Exception {
    attr_name=Bits.readString(in);
    attr_value=Util.readByteBuffer(in);
  }
}

相关文章

Util类方法