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

公開メンバ関数

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

静的非公開変数類

static final int VERSION_1 = 1
 

詳解

関数詳解

◆ readObject()

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

◆ readObjectVersion1()

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

◆ writeObject()

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

メンバ詳解

◆ VERSION_1

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

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