keycloak
公開メンバ関数 | 静的非公開変数類 | 全メンバ一覧
org.keycloak.models.cache.infinispan.events.GroupMovedEvent.ExternalizerImpl クラス
org.keycloak.models.cache.infinispan.events.GroupMovedEvent.ExternalizerImpl の継承関係図
Inheritance graph
org.keycloak.models.cache.infinispan.events.GroupMovedEvent.ExternalizerImpl 連携図
Collaboration graph

公開メンバ関数

void writeObject (ObjectOutput output, GroupMovedEvent obj) throws IOException
 
GroupMovedEvent readObject (ObjectInput input) throws IOException, ClassNotFoundException
 
GroupMovedEvent readObjectVersion1 (ObjectInput input) throws IOException, ClassNotFoundException
 

静的非公開変数類

static final int VERSION_1 = 1
 

詳解

関数詳解

◆ readObject()

GroupMovedEvent org.keycloak.models.cache.infinispan.events.GroupMovedEvent.ExternalizerImpl.readObject ( ObjectInput  input) throws IOException, ClassNotFoundException
inline
87  {
88  switch (input.readByte()) {
89  case VERSION_1:
90  return readObjectVersion1(input);
91  default:
92  throw new IOException("Unknown version");
93  }
94  }
static final int VERSION_1
Definition: GroupMovedEvent.java:74
GroupMovedEvent readObjectVersion1(ObjectInput input)
Definition: GroupMovedEvent.java:96

◆ readObjectVersion1()

GroupMovedEvent org.keycloak.models.cache.infinispan.events.GroupMovedEvent.ExternalizerImpl.readObjectVersion1 ( ObjectInput  input) throws IOException, ClassNotFoundException
inline
96  {
97  GroupMovedEvent res = new GroupMovedEvent();
98  res.groupId = MarshallUtil.unmarshallString(input);
99  res.newParentId = MarshallUtil.unmarshallString(input);
100  res.oldParentId = MarshallUtil.unmarshallString(input);
101  res.realmId = MarshallUtil.unmarshallString(input);
102 
103  return res;
104  }

◆ writeObject()

void org.keycloak.models.cache.infinispan.events.GroupMovedEvent.ExternalizerImpl.writeObject ( ObjectOutput  output,
GroupMovedEvent  obj 
) throws IOException
inline
77  {
78  output.writeByte(VERSION_1);
79 
80  MarshallUtil.marshallString(obj.groupId, output);
81  MarshallUtil.marshallString(obj.newParentId, output);
82  MarshallUtil.marshallString(obj.oldParentId, output);
83  MarshallUtil.marshallString(obj.realmId, output);
84  }
static final int VERSION_1
Definition: GroupMovedEvent.java:74

メンバ詳解

◆ VERSION_1

final int org.keycloak.models.cache.infinispan.events.GroupMovedEvent.ExternalizerImpl.VERSION_1 = 1
staticprivate

このクラス詳解は次のファイルから抽出されました: