public class ExternalEnv extends Object implements RpcMarshalable
Constructor and Description |
---|
ExternalEnv(String progName,
String version,
String client,
String cwd,
String host,
String port,
String language,
String os,
String user,
boolean unicode,
Charset currentCharset) |
Modifier and Type | Method and Description |
---|---|
String |
getClient() |
Charset |
getCurrentCharset() |
String |
getCwd() |
String |
getHost() |
String |
getLanguage() |
String |
getOs() |
String |
getPort() |
String |
getProgName() |
String |
getUser() |
String |
getVersion() |
boolean |
isUnicode() |
byte[] |
marshal() |
void |
marshal(ByteBuffer buf)
Marshal the associated object onto the passed-in ByteBuffer.
|
void |
setClient(String client) |
void |
setCurrentCharset(Charset currentCharset) |
void |
setCwd(String cwd) |
void |
setHost(String host) |
void |
setLanguage(String language) |
void |
setOs(String os) |
void |
setPort(String port) |
void |
setProgName(String progName) |
void |
setUnicode(boolean unicode) |
void |
setUser(String user) |
void |
setVersion(String version) |
String |
toString() |
public void marshal(ByteBuffer buf) throws BufferOverflowException
RpcMarshalable
marshal
in interface RpcMarshalable
buf
- non-null ByteBuffer; should be big enough to take the marshaled objectBufferOverflowException
- if the passed-in buffer wasn't big enoughpublic byte[] marshal()
public String getProgName()
public void setProgName(String progName)
public String getVersion()
public void setVersion(String version)
public String getClient()
public void setClient(String client)
public String getCwd()
public void setCwd(String cwd)
public String getHost()
public void setHost(String host)
public String getPort()
public void setPort(String port)
public String getLanguage()
public void setLanguage(String language)
public String getOs()
public void setOs(String os)
public String getUser()
public void setUser(String user)
public boolean isUnicode()
public void setUnicode(boolean unicode)
public Charset getCurrentCharset()
public void setCurrentCharset(Charset currentCharset)
Copyright © 2017 Perforce Software. All Rights Reserved.