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

公開メンバ関数

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

静的非公開変数類

static final int VERSION_1 = 1
 

詳解

関数詳解

◆ readObject()

GroupAddedEvent org.keycloak.models.cache.infinispan.events.GroupAddedEvent.ExternalizerImpl.readObject ( ObjectInput  input) throws IOException, ClassNotFoundException
inline
75  {
76  switch (input.readByte()) {
77  case VERSION_1:
78  return readObjectVersion1(input);
79  default:
80  throw new IOException("Unknown version");
81  }
82  }
static final int VERSION_1
Definition: GroupAddedEvent.java:64
GroupAddedEvent readObjectVersion1(ObjectInput input)
Definition: GroupAddedEvent.java:84

◆ readObjectVersion1()

GroupAddedEvent org.keycloak.models.cache.infinispan.events.GroupAddedEvent.ExternalizerImpl.readObjectVersion1 ( ObjectInput  input) throws IOException, ClassNotFoundException
inline
84  {
85  GroupAddedEvent res = new GroupAddedEvent();
86  res.groupId = MarshallUtil.unmarshallString(input);
87  res.realmId = MarshallUtil.unmarshallString(input);
88 
89  return res;
90  }

◆ writeObject()

void org.keycloak.models.cache.infinispan.events.GroupAddedEvent.ExternalizerImpl.writeObject ( ObjectOutput  output,
GroupAddedEvent  obj 
) throws IOException
inline
67  {
68  output.writeByte(VERSION_1);
69 
70  MarshallUtil.marshallString(obj.groupId, output);
71  MarshallUtil.marshallString(obj.realmId, output);
72  }
static final int VERSION_1
Definition: GroupAddedEvent.java:64

メンバ詳解

◆ VERSION_1

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

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