Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomSerializable

type CustomSerializable struct {
	// contains filtered or unexported fields
}

type CustomSerializer

type CustomSerializer struct {
}

func (*CustomSerializer) ID

func (s *CustomSerializer) ID() int32

func (*CustomSerializer) Read

func (s *CustomSerializer) Read(input serialization.DataInput) (obj interface{}, err error)

func (*CustomSerializer) Write

func (s *CustomSerializer) Write(output serialization.DataOutput, obj interface{}) (err error)

type Customer

type Customer struct {
	// contains filtered or unexported fields
}

func (*Customer) ClassID

func (c *Customer) ClassID() int32

func (*Customer) FactoryID

func (c *Customer) FactoryID() int32

func (*Customer) ReadPortable

func (c *Customer) ReadPortable(reader serialization.PortableReader) (err error)

func (*Customer) WritePortable

func (c *Customer) WritePortable(writer serialization.PortableWriter) (err error)

type Employee

type Employee struct {
	// contains filtered or unexported fields
}

func (*Employee) ClassID

func (e *Employee) ClassID() int32

func (*Employee) FactoryID

func (e *Employee) FactoryID() int32

func (*Employee) ReadData

func (e *Employee) ReadData(input serialization.DataInput) error

func (*Employee) WriteData

func (e *Employee) WriteData(output serialization.DataOutput) (err error)

type GlobalSerializer

type GlobalSerializer struct {
}

func (*GlobalSerializer) ID

func (*GlobalSerializer) ID() int32

func (*GlobalSerializer) Read

func (*GlobalSerializer) Read(input serialization.DataInput) (obj interface{}, err error)

func (*GlobalSerializer) Write

func (*GlobalSerializer) Write(output serialization.DataOutput, object interface{}) (err error)

type IncEntryProcessor

type IncEntryProcessor struct {
}

func (*IncEntryProcessor) ClassID

func (p *IncEntryProcessor) ClassID() int32

func (*IncEntryProcessor) FactoryID

func (p *IncEntryProcessor) FactoryID() int32

func (*IncEntryProcessor) ReadData

func (p *IncEntryProcessor) ReadData(input *serialization.DataInput) error

func (*IncEntryProcessor) WriteData

func (p *IncEntryProcessor) WriteData(output *serialization.DataOutput) error

type SampleDataSerializableFactory

type SampleDataSerializableFactory struct {
}

func (*SampleDataSerializableFactory) Create

type SamplePortableFactory

type SamplePortableFactory struct {
}

func (*SamplePortableFactory) Create

func (pf *SamplePortableFactory) Create(classID int32) serialization.Portable

type ThePortableFactory

type ThePortableFactory struct {
}

func (*ThePortableFactory) Create

func (pf *ThePortableFactory) Create(classID int32) serialization.Portable

type User

type User struct {
	// contains filtered or unexported fields
}

func (*User) ClassID

func (u *User) ClassID() int32

func (*User) FactoryID

func (u *User) FactoryID() int32

func (*User) ReadPortable

func (u *User) ReadPortable(reader serialization.PortableReader) error

func (*User) WritePortable

func (u *User) WritePortable(writer serialization.PortableWriter) error