Package | Description |
---|---|
net.razorvine.pickle |
Java implementation of Python's pickle serialization protocol.
|
net.razorvine.pickle.objects |
Object constructors and other utility classes for the pickle package.
|
net.razorvine.pyro |
Lightweight implementation of the client side
Pyro protocol.
|
net.razorvine.pyro.serializer |
Modifier and Type | Class and Description |
---|---|
class |
InvalidOpcodeException
Exception thrown when the unpickler encounters an invalid opcode.
|
Modifier and Type | Method and Description |
---|---|
Object |
IObjectConstructor.construct(Object[] args)
Create an object.
|
protected Object |
Unpickler.dispatch(short key)
Process a single pickle stream opcode.
|
void |
Pickler.dump(Object o,
OutputStream stream)
Pickle a given object graph, writing the result to the output stream.
|
byte[] |
Pickler.dumps(Object o)
Pickle a given object graph, returning the result as a byte array.
|
Object |
Unpickler.load(InputStream stream)
Read a pickled object representation from the given input stream.
|
Object |
Unpickler.loads(byte[] pickledata)
Read a pickled object representation from the given pickle data bytes.
|
void |
IObjectPickler.pickle(Object o,
OutputStream out,
Pickler currentPickler)
Pickle an object.
|
void |
Pickler.save(Object o)
Pickle a single object and write its pickle representation to the output stream.
|
Modifier and Type | Method and Description |
---|---|
Object |
ArrayConstructor.construct(char typecode,
int machinecode,
byte[] data)
Create an object based on machine code type
|
Object |
TimeZoneConstructor.construct(Object[] args) |
Object |
ByteArrayConstructor.construct(Object[] args) |
Object |
ArrayConstructor.construct(Object[] args) |
Modifier and Type | Method and Description |
---|---|
void |
PyroProxy.call_oneway(String method,
Object... arguments)
Call a method on the remote Pyro object this proxy is for, using Oneway call semantics (return immediately).
|
Object |
FlameBuiltin.call(Object... arguments) |
Object |
PyroProxy.call(String method,
Object... arguments)
Call a method on the remote Pyro object this proxy is for.
|
Object |
FlameModule.call(String attribute,
Object... arguments) |
void |
FlameRemoteConsole.close() |
PyroProxy |
ProxyClassConstructor.construct(Object[] args) |
Object |
PyroProxy.getattr(String attr)
Get the value of a remote attribute.
|
protected void |
PyroProxy.getMetadata(String objectId)
get metadata from server (methods, attrs, oneway, ...) and remember them in some attributes of the proxy
|
void |
FlameRemoteConsole.interact() |
Map<String,Object[]> |
NameServerProxy.list_with_meta(String prefix,
String regex) |
Map<String,Object[]> |
NameServerProxy.list_with_meta(String prefix,
String regex,
String[] metadata_all,
String[] metadata_any) |
Map<String,String> |
NameServerProxy.list(String prefix,
String regex) |
Map<String,String> |
NameServerProxy.list(String prefix,
String regex,
String[] metadata_all,
String[] metadata_any) |
PyroURI |
NameServerProxy.lookup(String name) |
Object[] |
NameServerProxy.lookup(String name,
boolean return_metadata) |
void |
NameServerProxy.ping() |
void |
NameServerProxy.register(String name,
PyroURI uri,
boolean safe) |
void |
NameServerProxy.register(String name,
PyroURI uri,
boolean safe,
String[] metadata) |
int |
NameServerProxy.remove(String name,
String prefix,
String regex) |
void |
NameServerProxy.set_metadata(String name,
Set<String> metadata) |
void |
PyroProxy.setattr(String attr,
Object value)
Set a new value on a remote attribute.
|
Modifier and Type | Method and Description |
---|---|
void |
PyroUriPickler.pickle(Object o,
OutputStream out,
Pickler currentPickler) |
void |
PyroProxyPickler.pickle(Object o,
OutputStream out,
Pickler currentPickler) |
void |
PyroExceptionPickler.pickle(Object o,
OutputStream out,
Pickler currentPickler) |
Copyright © 2016. All Rights Reserved.