public enum Samport extends Enum<Samport> implements io.odysz.semantic.jprotocol.IPort
AnsonMsg.Port
.Enum Constant and Description |
---|
cheapflow
workflow port, see
io.odysz.sworkflow.CheapEngin |
example |
file |
gpatier |
heartbeat |
menu
port provided by
SysMenu |
session |
tools
sample servlet tools.serv
|
userstier
The new experimental serv, extending semantics to the client side
|
vec3 |
Modifier and Type | Method and Description |
---|---|
io.odysz.anson.IJsonable |
toBlock(OutputStream stream,
io.odysz.anson.JsonOpt... opts) |
io.odysz.anson.IJsonable |
toJson(StringBuffer buf) |
String |
url() |
io.odysz.semantic.jprotocol.IPort |
valof(String pname) |
static Samport |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Samport[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Samport heartbeat
public static final Samport session
public static final Samport example
public static final Samport file
public static final Samport cheapflow
io.odysz.sworkflow.CheapEngin
public static final Samport tools
public static final Samport vec3
public static final Samport userstier
public static final Samport gpatier
public static Samport[] values()
for (Samport c : Samport.values()) System.out.println(c);
public static Samport valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String url()
url
in interface io.odysz.semantic.jprotocol.IPort
public io.odysz.semantic.jprotocol.IPort valof(String pname) throws io.odysz.semantics.x.SemanticException
valof
in interface io.odysz.semantic.jprotocol.IPort
io.odysz.semantics.x.SemanticException
public io.odysz.anson.IJsonable toBlock(OutputStream stream, io.odysz.anson.JsonOpt... opts) throws io.odysz.anson.x.AnsonException, IOException
toBlock
in interface io.odysz.anson.IJsonable
io.odysz.anson.x.AnsonException
IOException
public io.odysz.anson.IJsonable toJson(StringBuffer buf) throws IOException, io.odysz.anson.x.AnsonException
toJson
in interface io.odysz.anson.IJsonable
IOException
io.odysz.anson.x.AnsonException
Copyright © 2023. All rights reserved.